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

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

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

            return(coll);
        }