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