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