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); }
public DDPermissionCollection FetchByID(object RoleID) { DDPermissionCollection coll = new DDPermissionCollection().Where("RoleID", RoleID).Load(); return(coll); }