Пример #1
0
        public IngredientOrderItemCollection FetchByQuery(Query qry)
        {
            IngredientOrderItemCollection coll = new IngredientOrderItemCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public IngredientOrderItemCollection FetchAll()
        {
            IngredientOrderItemCollection coll = new IngredientOrderItemCollection();
            Query qry = new Query(IngredientOrderItem.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public IngredientOrderItemCollection FetchByID(object Id)
        {
            IngredientOrderItemCollection coll = new IngredientOrderItemCollection().Where("Id", Id).Load();

            return(coll);
        }