public void TestMethod2() { LoadTestRecords(); var context = new Test.Db.TestDbEntities(); var result2 = context.Headers.Search(record => record.UpdateDate < DateTime.Now && record.Active == true); Assert.IsTrue(result2.Count != 0); }
public void TestMethod1() { LoadTestRecords(); var context = new Test.Db.TestDbEntities(); var result1 = context.Headers.Search(record => record.Id > 0); Assert.IsTrue(result1.Count != 0); }