Exemplo n.º 1
0
        public IngredientOrderItemCollection FetchByQuery(Query qry)
        {
            IngredientOrderItemCollection coll = new IngredientOrderItemCollection();

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

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