Beispiel #1
0
        public IngredientOrderItemCollection FetchByQuery(Query qry)
        {
            IngredientOrderItemCollection coll = new IngredientOrderItemCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public IngredientOrderItemCollection FetchAll()
        {
            IngredientOrderItemCollection coll = new IngredientOrderItemCollection();
            Query qry = new Query(IngredientOrderItem.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }