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