public SysRoleCollection FetchByQuery(Query qry) { SysRoleCollection coll = new SysRoleCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysRoleCollection FetchAll() { SysRoleCollection coll = new SysRoleCollection(); Query qry = new Query(SysRole.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysRoleCollection FetchByID(object IRole) { SysRoleCollection coll = new SysRoleCollection().Where("iRole", IRole).Load(); return(coll); }