예제 #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);
        }