Пример #1
0
 public void Test4()
 {
     RequiredModel.Find(CK.K["Age"] > 18);
 }
Пример #2
0
 public void Test5()
 {
     RequiredModel.DeleteBy(p => p.Age > 18);
 }
Пример #3
0
 public void Test2()
 {
     RequiredModel.Find(p => p.Name == "tom");
 }
Пример #4
0
 public void Test3()
 {
     RequiredModel.FindById(1);
 }
Пример #5
0
 public void Test1()
 {
     RequiredModel.Find(p => p.Age > 18);
 }
Пример #6
0
 public void Test9()
 {
     RequiredModel.Find(p => p.Age.In(18, 19));
 }
Пример #7
0
 public void Test5()
 {
     Assert.Throws <DataException>(() => {
         RequiredModel.DeleteBy(p => p.Age > 18);
     }, "The QueryRequired fields not found in query.");
 }
Пример #8
0
 public void Test4()
 {
     Assert.Throws <DataException>(() => {
         RequiredModel.Find(CK.K["Age"] > 18);
     }, "The QueryRequired fields not found in query.");
 }
Пример #9
0
 public void Test9()
 {
     Assert.Throws <DataException>(() => {
         RequiredModel.Find(p => p.Age.In(18, 19));
     }, "The QueryRequired fields not found in query.");
 }