예제 #1
0
        public UserFriendCollection FetchByQuery(Query qry)
        {
            UserFriendCollection coll = new UserFriendCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public UserFriendCollection FetchAll()
        {
            UserFriendCollection coll = new UserFriendCollection();
            Query qry = new Query(UserFriend.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }