public void TimeAddMicroseconds() { TimeSpan time = stored.Add(TimeSpan.FromTicks(-10)); #if !EFOLD var q = this.Entities .Where(x => DbFunctions.AddMicroseconds(x.Time, -1) == time); #else var q = this.Entities .Where(x => EntityFunctions.AddMicroseconds(x.Time, -1) == time); #endif q.Should().NotBeEmpty(); }
public void TimeAddMicroseconds() { DateTime date = stored.AddTicks(-10); #if !EFOLD var q = this.Entities .Where(x => DbFunctions.AddMicroseconds(x.DateTime, -1) == date); #else var q = this.Entities .Where(x => EntityFunctions.AddMicroseconds(x.DateTime, -1) == date); #endif q.Should().NotBeEmpty(); }