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