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