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); }