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); }