public virtual void TestWherePrototypeFieldIsSmaller()
 {
     StoreAll(OccamAndZora());
     IteratorAssert.SameContent(Zora(), Db().From(typeof(BasicQLinTestCase.Cat)).Where
                                    (((BasicQLinTestCase.Cat)QLinSupport.P(typeof(BasicQLinTestCase.Cat))).age).Smaller
                                    (7).Select());
 }
Exemple #2
0
 public virtual void TestWherePrototypeFieldIsPrimitiveInt()
 {
     StoreAll(OccamAndZora());
     IteratorAssert.SameContent(Occam(), Db().From(typeof(Cat)).Where
                                    (((Cat)QLinSupport.P(typeof(Cat))).age).Equal
                                    (7).Select());
 }
 public virtual void TestWherePrototypeFieldStartsWith()
 {
     StoreAll(OccamAndZora());
     IteratorAssert.SameContent(Occam(), Db().From(typeof(BasicQLinTestCase.Cat)).Where
                                    (((BasicQLinTestCase.Cat)QLinSupport.P(typeof(BasicQLinTestCase.Cat))).Name()).StartsWith
                                    ("Occ").Select());
 }
Exemple #4
0
 public virtual void TestWherePrototypeFieldIsString()
 {
     StoreAll(OccamAndZora());
     IteratorAssert.SameContent(Occam(), Db().From(typeof(Cat)).Where
                                    (((Cat)QLinSupport.P(typeof(Cat))).Name()).Equal
                                    ("Occam").Select());
 }