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