public LRoleCollection FetchByQuery(Query qry) { LRoleCollection coll = new LRoleCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public LRoleCollection FetchAll() { LRoleCollection coll = new LRoleCollection(); Query qry = new Query(LRole.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public LRoleCollection FetchByID(object RoleId) { LRoleCollection coll = new LRoleCollection().Where("Role_ID", RoleId).Load(); return(coll); }