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