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