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