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