public IngredientOrderCollection FetchByQuery(Query qry) { IngredientOrderCollection coll = new IngredientOrderCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public IngredientOrderCollection FetchAll() { IngredientOrderCollection coll = new IngredientOrderCollection(); Query qry = new Query(IngredientOrder.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public IngredientOrderCollection FetchByID(object Id) { IngredientOrderCollection coll = new IngredientOrderCollection().Where("Id", Id).Load(); return(coll); }