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