Пример #1
0
 public CommentCollection(DataReaderWrap readerWrap)
 {
     while (readerWrap.Next)
     {
         Comment comment = new Comment(readerWrap);
         this.Add(comment);
     }
 }
Пример #2
0
 public VisitorCollection(DataReaderWrap readerWrap)
 {
     while (readerWrap.Next)
     {
         Visitor visitor = new Visitor(readerWrap);
         this.Add(visitor);
     }
 }
Пример #3
0
 public PhotoCollection(DataReaderWrap readerWrap)
 {
     while (readerWrap.Next)
     {
         Photo photo = new Photo(readerWrap);
         this.Add(photo);
     }
 }
Пример #4
0
        public AlbumCollection(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                Album album = new Album(readerWrap);

                this.Add(album);
            }
        }
Пример #5
0
        public ForumThreadCatalogCollection(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                ForumThreadCatalog forumThreadCatalog = new ForumThreadCatalog(readerWrap);

                this.Add(forumThreadCatalog);
            }
        }
Пример #6
0
 public Instruct(DataReaderWrap wrap)
 {
     this.ClientID     = wrap.Get <int>("ClientID");
     this.CreateDate   = wrap.Get <DateTime>("CreateDate");
     this.InstructID   = wrap.Get <long>("InstructID");
     this.InstructType = wrap.Get <InstructType>("InstructType");
     this.Datas        = wrap.Get <string>("Datas");
     this.TargetID     = wrap.Get <int>("TargetID");
 }
Пример #7
0
        public ThreadCateCollection(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                ThreadCate cate = new ThreadCate(readerWrap);

                this.Add(cate);
            }
        }
Пример #8
0
        public ThreadExchangeCollection(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                ThreadExchange exchange = new ThreadExchange(readerWrap);

                this.Add(exchange);
            }
        }
Пример #9
0
 public MaxSerial(DataReaderWrap wrap)
 {
     this.CreateDate  = wrap.Get <DateTime>("CreateDate");
     this.ExpiresDate = wrap.Get <DateTime>("ExpiresDate");
     this.OwnerUserId = wrap.Get <int>("UserID");
     this.Serial      = wrap.Get <Guid>("Serial");
     this.Type        = wrap.Get <SerialType>("Type");
     this.Data        = wrap.Get <string>("Data");
 }
Пример #10
0
 public PassportClient(DataReaderWrap wrap)
 {
     this.ClientID      = wrap.Get <int>("ClientID");
     this.Name          = wrap.Get <string>("ClientName");
     this.AccessKey     = wrap.Get <string>("AccessKey");
     this.APIFilePath   = wrap.Get <string>("APIFilePath");
     this.Url           = wrap.Get <string>("Url");
     this.InstructTypes = new List <InstructType>(StringUtil.Split <InstructType>(wrap.Get <string>("InstructTypes")));
 }
Пример #11
0
        public PollItemCollectionV5(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                PollItem pollItem = new PollItem(readerWrap);

                this.Add(pollItem);
            }
        }
Пример #12
0
        public ValidateCodeActionRecord(DataReaderWrap readerWrap)
        {
            ID = readerWrap.Get <int>("ID");

            IP     = readerWrap.Get <string>("IP");
            Action = readerWrap.Get <string>("Action");

            CreateDate = readerWrap.Get <DateTime>("CreateDate");
        }
Пример #13
0
        public StickThreadCollection(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                StickThread stickThread = new StickThread(readerWrap);

                this.Add(stickThread);
            }
        }
Пример #14
0
        public PostMarkCollection(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                PostMark postMark = new PostMark(readerWrap);

                this.Add(postMark);
            }
        }
Пример #15
0
 public UserMobilePhone(DataReaderWrap readerWrap)
 {
     this.UserID      = readerWrap.Get <int>("UserID");
     this.DataType    = readerWrap.Get <MobilePhoneAction>("DataType");
     this.CreateDate  = readerWrap.Get <DateTime>("CreateDate");
     this.MobilePhone = readerWrap.Get <long>("MobilePhone");
     this.PhoneCode   = readerWrap.Get <string>("PhoneCode");
     this.ExpiresDate = readerWrap.Get <DateTime>("ExpiresDate");
 }
Пример #16
0
        public ThreadRankCollection(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                ThreadRank rank = new ThreadRank(readerWrap);

                this.Add(rank);
            }
        }
Пример #17
0
 public FriendGroup(DataReaderWrap readerWrap)
 {
     GroupID = readerWrap.Get <int>("GroupID");
     UserID  = readerWrap.Get <int>("UserID");
     Name    = readerWrap.Get <string>("GroupName");
     //IsSystem = readerWrap.Get<bool>("IsSystem");
     IsShield     = readerWrap.Get <bool>("IsShield");
     TotalFriends = readerWrap.Get <int>("TotalFriends");
 }
Пример #18
0
 public MaxSerial(DataReaderWrap wrap)
 {
     this.CreateDate = wrap.Get<DateTime>("CreateDate");
     this.ExpiresDate = wrap.Get<DateTime>("ExpiresDate");
     this.OwnerUserId = wrap.Get<int>("UserID");
     this.Serial = wrap.Get<Guid>("Serial");
     this.Type = wrap.Get<SerialType>("Type");
     this.Data = wrap.Get<string>("Data");
 }
Пример #19
0
 public void FillPolemize(DataReaderWrap reader)
 {
     AgreeViewPoint = reader.Get<string>("AgreeViewPoint");
     AgainstViewPoint = reader.Get<string>("AgainstViewPoint");
     AgreeCount = reader.Get<int>("AgreeCount");
     AgainstCount = reader.Get<int>("AgainstCount");
     NeutralCount = reader.Get<int>("NeutralCount");
     ExpiresDate = reader.Get<DateTime>("ExpiresDate");
 }
Пример #20
0
        public ClubMember(DataReaderWrap reader)
        {
            ClubID = reader.Get <int>("ClubID");
            UserID = reader.Get <int>("UserID");

            Status = reader.Get <ClubMemberStatus>("Status");

            CreateDate = reader.Get <DateTime>("CreateDate");
        }
Пример #21
0
        public AttachmentExchangeCollection(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                AttachmentExchange exchange = new AttachmentExchange(readerWrap);

                this.Add(exchange);
            }
        }
Пример #22
0
 public Instruct(DataReaderWrap wrap)
 {
     this.ClientID = wrap.Get<int>("ClientID");
     this.CreateDate = wrap.Get<DateTime>("CreateDate");
     this.InstructID = wrap.Get<long>("InstructID");
     this.InstructType = wrap.Get<InstructType>("InstructType");
     this.Datas = wrap.Get<string>("Datas");
     this.TargetID = wrap.Get<int>("TargetID");
 }
Пример #23
0
        public ThreadCateModelFieldCollection(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                ThreadCateModelField field = new ThreadCateModelField(readerWrap);

                this.Add(field);
            }
        }
Пример #24
0
        public ThreadManageLogCollectionV5(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                ThreadManageLogV5 threadManageLog = new ThreadManageLogV5(readerWrap);

                this.Add(threadManageLog);
            }
        }
Пример #25
0
        public AttachmentCollection(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                Attachment attachment = new Attachment(readerWrap);

                this.Add(attachment);
            }
        }
Пример #26
0
        public PostCollectionV5(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                PostV5 post = new PostV5(readerWrap);

                this.Add(post);
            }
        }
Пример #27
0
        public TopicStatusCollection(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                TopicStatus topicStatus = new TopicStatus(readerWrap);

                this.Add(topicStatus);
            }
        }
Пример #28
0
        public ForumCollection(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                Forum forum = new Forum(readerWrap);

                this.Add(forum);
            }
        }
Пример #29
0
 public RecoverPasswordLog(DataReaderWrap wrap)
 {
     this.Id         = wrap.Get <int>("Id");
     this.UserID     = wrap.Get <int>("UserID");
     this.Successed  = wrap.Get <bool>("Successed");
     this.Email      = wrap.Get <string>("Email");
     this.CreateDate = wrap.Get <DateTime>("CreateDate");
     this.IP         = wrap.Get <string>("IP");
 }
Пример #30
0
 public Moderator(DataReaderWrap readerWrap)
 {
     this.ForumID       = readerWrap.Get <int>("ForumID");
     this.UserID        = readerWrap.Get <int>("UserID");
     this.BeginDate     = readerWrap.Get <DateTime>("BeginDate");
     this.EndDate       = readerWrap.Get <DateTime>("EndDate");
     this.ModeratorType = readerWrap.Get <ModeratorType>("ModeratorType");
     this.SortOrder     = readerWrap.Get <int>("SortOrder");
 }
Пример #31
0
        public PollItemDetailsCollectionV5(DataReaderWrap readerWrap)
        {
            while (readerWrap.Next)
            {
                PollItemDetailsV5 pollItemDetails = new PollItemDetailsV5(readerWrap);

                this.Add(pollItemDetails);
            }
        }
Пример #32
0
 public UserMobileLog(DataReaderWrap wrap)
 {
     this.LogID         = wrap.Get <int>("LogID");
     this.UserID        = wrap.Get <int>("UserID");
     this.Username      = wrap.Get <string>("Username");
     this.MobilePhone   = wrap.Get <long>("MobilePhone");
     this.OperationType = wrap.Get <MobilePhoneAction>("OperationType");
     this.OperationDate = wrap.Get <DateTime>("OperationDate");
 }
Пример #33
0
 public void FillPolemize(DataReaderWrap reader)
 {
     AgreeViewPoint   = reader.Get <string>("AgreeViewPoint");
     AgainstViewPoint = reader.Get <string>("AgainstViewPoint");
     AgreeCount       = reader.Get <int>("AgreeCount");
     AgainstCount     = reader.Get <int>("AgainstCount");
     NeutralCount     = reader.Get <int>("NeutralCount");
     ExpiresDate      = reader.Get <DateTime>("ExpiresDate");
 }
Пример #34
0
 public void FillQuestion(DataReaderWrap reader)
 {
     Reward = reader.Get<int>("Reward");
     RewardCount = reader.Get<int>("RewardCount");
     AlwaysEyeable = reader.Get<bool>("AlwaysEyeable");
     BestPostID = reader.Get<int>("BestPostID");
     UsefulCount = reader.Get<int>("UsefulCount");
     UnusefulCount = reader.Get<int>("UnusefulCount");
     ExpiresDate = reader.Get<DateTime>("ExpiresDate");
     if (reader.Get<bool>("IsClosed") == true)
         base.IsClosed = true;
 }
Пример #35
0
        public void FillPolemizeUsers(DataReaderWrap reader)
        {
            PoleMizeUsers = new Dictionary<int, ViewPointType>();
            while (reader.Next)
            {
                int userID = reader.Get<int>("UserID");
                ViewPointType pointType = reader.Get<ViewPointType>("ViewPointType");

                if (PoleMizeUsers.ContainsKey(userID) == false)
                    PoleMizeUsers.Add(userID, pointType);
            }
        }
Пример #36
0
        public Vars(DataReaderWrap readerWrap)
        {
            MaxPosts = readerWrap.Get<int>("MaxPosts");
            NewUserID = readerWrap.Get<int>("NewUserID");
            TotalUsers = readerWrap.Get<int>("TotalUsers");
            YestodayPosts = readerWrap.Get<int>("YestodayPosts");
            YestodayTopics = readerWrap.Get<int>("YestodayTopics");
            MaxOnlineCount = readerWrap.Get<int>("MaxOnlineCount");

            MaxPostDate = readerWrap.Get<DateTime>("MaxPostDate");
            MaxOnlineDate = readerWrap.Get<DateTime>("MaxOnlineDate");
            LastResetDate = readerWrap.Get<DateTime>("LastResetDate");

            NewUsername = readerWrap.Get<string>("NewUsername");
        }
Пример #37
0
        public AuthUser(DataReaderWrap readerWrap)
            : base(readerWrap)
        {

            this.Password = readerWrap.Get<string>("Password");
            this.PasswordFormat = readerWrap.Get<EncryptFormat>("PasswordFormat");
            this.EverAvatarChecked = readerWrap.Get<bool>("EverAvatarChecked");

            //====================

            this.UnreadMessages = readerWrap.Get<int>("UnreadMessages");

            this.LastReadSystemNotifyID = readerWrap.Get<int>("LastReadSystemNotifyID");

            //====================



            //=====================

            this.UsedAlbumSize = readerWrap.Get<long>("UsedAlbumSize");
            this.AddedAlbumSize = readerWrap.Get<long>("AddedAlbumSize");
            this.TimeZone = readerWrap.Get<float>("TimeZone");
            this.SkinID = readerWrap.Get<string>("SkinID");
            //this.LastAvatarUpdateDate = readerWrap.Get<DateTime>("LastAvatarUpdateDate");

            //=====================

            this.TotalDiskFiles = readerWrap.Get<int>("TotalDiskFiles");
            this.UsedDiskSpaceSize = readerWrap.Get<long>("UsedDiskSpaceSize");
            this.OnlineStatus = readerWrap.Get<OnlineStatus>("OnlineStatus");
            this.EnableDisplaySidebar = readerWrap.Get<EnableStatus>("EnableDisplaySidebar");
            //this.MessageSound = readerWrap.Get<string>("MessageSound");

            this.SelectFriendGroupID = readerWrap.Get<int>("SelectFriendGroupID");
            this.ReplyReturnThreadLastPage = readerWrap.GetNullable<bool>("ReplyReturnThreadLastPage");
            //=====================

        }
Пример #38
0
        public QuestionThread(DataReaderWrap reader)
            : base(reader)
        {

        }
Пример #39
0
 public DeletingFile(DataReaderWrap readerWrap)
 {
     this.DeletingFileID = readerWrap.Get<int>("DeletingFileID");
     this.ServerFilePath = readerWrap.Get<string>("ServerFilePath");
 }
Пример #40
0
 public UserPassword(DataReaderWrap readerWrap)
 {
     UserID = readerWrap.Get<int>("UserID");
     Password = readerWrap.Get<string>("Password");
     PasswordFormat = readerWrap.Get<EncryptFormat>("PasswordFormat");
 }
Пример #41
0
 public PolemizeThreadV5(DataReaderWrap reader)
     : base(reader)
 {
 }
Пример #42
0
 public void FillPoll(DataReaderWrap reader)
 {
     Multiple = reader.Get<int>("Multiple");
     AlwaysEyeable = reader.Get<bool>("AlwaysEyeable");
     ExpiresDate = reader.Get<DateTime>("ExpiresDate");
 }
Пример #43
0
        public BlogArchive(DataReaderWrap readerWrap)
        {

        }