public ShoppingCartItemCollection FetchByQuery(Query qry) { ShoppingCartItemCollection coll = new ShoppingCartItemCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ShoppingCartItemCollection FetchAll() { ShoppingCartItemCollection coll = new ShoppingCartItemCollection(); Query qry = new Query(ShoppingCartItem.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }