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