// Get number of images created in last 48 hours
var imagesCount = ApplicationDbContext.Images.Count(x => DbFunctions.DiffHours(DateTime.Now, x.CreateTime) <= 48);
I get the exception: "Npgsql.NpgsqlException: ERROR: 42883: operator does not exist: timestamp without time zone * interval at Npgsql.NpgsqlState". What does this mean? I googled the exception to no avail. Thanks!
Same problem with the latest release candidate. If it helps, the property in my Images class looks like this:
public DateTime CreateTime { get; set; }
Thanks,
Neil