public TblRolesForUserCollection FetchByQuery(Query qry) { var coll = new TblRolesForUserCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TblRolesForUserCollection FetchAll() { var coll = new TblRolesForUserCollection(); var qry = new Query(TblRolesForUser.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }