I am trying to do this to calculate the LastDate is more then 15 mins in LINQ:
And DateTimeOffset.Now.Subtract(tbl.LastDate).Minutes >= 15
I got this error:
Method 'System.TimeSpan Subtract(System.DateTimeOffset)' has no supported translation to SQL.