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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public UserProfileCollection FetchByID(object Id)
        {
            UserProfileCollection coll = new UserProfileCollection().Where("ID", Id).Load();

            return(coll);
        }