public UserProfileCollection FetchByQuery(Query qry) { UserProfileCollection coll = new UserProfileCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public UserProfileCollection FetchAll() { UserProfileCollection coll = new UserProfileCollection(); Query qry = new Query(UserProfile.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public UserProfileCollection FetchByID(object Id) { UserProfileCollection coll = new UserProfileCollection().Where("ID", Id).Load(); return(coll); }