public DDRoleCollection FetchByQuery(Query qry) { DDRoleCollection coll = new DDRoleCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DDRoleCollection FetchAll() { DDRoleCollection coll = new DDRoleCollection(); Query qry = new Query(DDRole.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DDRoleCollection FetchByID(object RoleID) { DDRoleCollection coll = new DDRoleCollection().Where("RoleID", RoleID).Load(); return(coll); }