public UserFriendCollection FetchByQuery(Query qry) { UserFriendCollection coll = new UserFriendCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public UserFriendCollection FetchAll() { UserFriendCollection coll = new UserFriendCollection(); Query qry = new Query(UserFriend.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }