I need to compare two dates that are on SQLServer, to see if the user has already logged after 10 seconds of his register on the system, but when I try this query, it gives me a
NotSupportedException [System.NotSupportedException] = {"System.DateTime AddSeconds(Double)"}
Query:
var query = from user in this.Query()
where (user.LastLoginDate.AddSeconds(-10) <= user.CreateDate)
select std;