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