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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 2
0
        public ShoppingCartItemCollection FetchAll()
        {
            ShoppingCartItemCollection coll = new ShoppingCartItemCollection();
            Query qry = new Query(ShoppingCartItem.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Ejemplo n.º 3
0
        public ShoppingCartItemCollection FetchByID(object ShoppingCartItemID)
        {
            ShoppingCartItemCollection coll = new ShoppingCartItemCollection().Where("ShoppingCartItemID", ShoppingCartItemID).Load();

            return(coll);
        }