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