Пример #1
0
 public UserEmoticonInfo(DataReaderWrap wrap)
 {
     this.UserID         = wrap.Get <int>("UserID");
     this.Username       = wrap.Get <string>("Username");
     this.TotalEmoticons = wrap.Get <int>("TotalEmoticons");
     this.TotalSizes     = wrap.Get <int>("TotalSizes");
 }
Пример #2
0
 public BlogArticleVisitor(DataReaderWrap readerWrap)
 {
     this.ID            = readerWrap.Get <int>("ID");
     this.BlogArticleID = readerWrap.Get <int>("BlogArticleID");
     this.UserID        = readerWrap.Get <int>("UserID");
     this.ViewDate      = readerWrap.Get <DateTime>("ViewDate");
 }
Пример #3
0
 public ThreadCate(DataReaderWrap readerWrap)
 {
     CateID    = readerWrap.Get <int>("CateID");
     CateName  = readerWrap.Get <string>("CateName");
     Enable    = readerWrap.Get <bool>("Enable");
     SortOrder = readerWrap.Get <int>("SortOrder");
 }
Пример #4
0
 public DenouncingContent(DataReaderWrap readerWrap)
 {
     this.DenouncingID = readerWrap.Get <int>("DenouncingID");
     this.UserID       = readerWrap.Get <int>("UserID");
     this.Content      = readerWrap.Get <string>("Content");
     this.CreateDate   = readerWrap.Get <DateTime>("CreateDate");
 }
Пример #5
0
 public AttachmentExchange(DataReaderWrap readerWrap)
 {
     this.AttachmentID = readerWrap.Get <int>("AttachmentID");
     this.UserID       = readerWrap.Get <int>("UserID");
     this.Price        = readerWrap.Get <int>("Price");
     this.CreateDate   = readerWrap.Get <DateTime>("CreateDate");
 }
Пример #6
0
 public BanForumInfo(DataReaderWrap wrap)
 {
     ID        = wrap.Get <int>("LogID");
     ForumID   = wrap.Get <int>("ForumID");
     ForumName = wrap.Get <string>("ForumName");
     EndDate   = wrap.Get <DateTime>("EndDate");
 }
Пример #7
0
 public ClubCategory(DataReaderWrap readerWrap)
 {
     this.CategoryID = readerWrap.Get <int>("CategoryID");
     this.TotalClubs = readerWrap.Get <int>("TotalClubs");
     this.Name       = readerWrap.Get <string>("Name");
     this.CreateDate = readerWrap.Get <DateTime>("CreateDate");
 }
Пример #8
0
 public Tag(DataReaderWrap readerWrap)
 {
     this.ID            = readerWrap.Get <int>("ID");
     this.IsLock        = readerWrap.Get <bool>("IsLock");
     this.Name          = readerWrap.Get <string>("Name");
     this.TotalElements = readerWrap.Get <int>("TotalElements");
 }
Пример #9
0
 public ConsoleLoginLog(DataReaderWrap readerWrap)
 {
     this.UserID         = readerWrap.Get <int>("UserID");
     this.LoginDate      = readerWrap.Get <DateTime>("CreateDate");
     this.LastUpdateDate = readerWrap.Get <DateTime>("UpdateDate");
     this.SessionID      = readerWrap.Get <Guid>("SessionID");
 }
Пример #10
0
 public UserTempData(DataReaderWrap readerWrap)
 {
     this.UserID     = readerWrap.Get <int>("UserID");
     this.DataType   = readerWrap.Get <UserTempDataType>("DataType");
     this.CreateDate = readerWrap.Get <DateTime>("CreateDate");
     this.Data       = readerWrap.Get <string>("Data");
 }
Пример #11
0
 /// <summary>
 /// 实体化一个物理文件类,并将一个reader传入转换处理赋值给它的各个属性
 /// </summary>
 /// <param name="reader"></param>
 public PhysicalFile(DataReaderWrap readerWrap)
 {
     this.FileID         = readerWrap.Get <string>("FileID");
     this.ServerFilePath = readerWrap.Get <string>("ServerFilePath");
     this.MD5            = readerWrap.Get <string>("MD5");
     this.FileSize       = readerWrap.Get <long>("FileSize");
 }
Пример #12
0
 public PollItemDetailsV5(DataReaderWrap readerWrap)
 {
     UserID     = readerWrap.Get <int>("UserID");
     ItemID     = readerWrap.Get <int>("ItemID");
     Nickname   = readerWrap.Get <string>("Nickname");
     CreateDate = readerWrap.Get <DateTime>("CreateDate");
 }
Пример #13
0
 public UserFeed(DataReaderWrap readerWrap)
 {
     FeedID     = readerWrap.Get <int>("FeedID");
     UserID     = readerWrap.Get <int>("UserID");
     Realname   = readerWrap.Get <string>("Realname");
     CreateDate = readerWrap.Get <DateTime>("CreateDate");
 }
Пример #14
0
 public ThreadExchange(DataReaderWrap readerWrap)
 {
     this.ThreadID   = readerWrap.Get <int>("ThreadID");
     this.UserID     = readerWrap.Get <int>("UserID");
     this.Price      = readerWrap.Get <int>("Price");
     this.CreateDate = readerWrap.Get <DateTime>("CreateDate");
 }
Пример #15
0
 public PhysicalFileFromTemp(DataReaderWrap readerWrap)
     : base(readerWrap)
 {
     TempUploadFileID         = readerWrap.Get <int>("TempUploadFileID");
     TempUploadFileName       = readerWrap.Get <string>("TempUploadFileName");
     TempUploadServerFileName = readerWrap.Get <string>("TempUploadServerFileName");
 }
Пример #16
0
 public UserExtendedValue(DataReaderWrap readerWrap)
 {
     UserID          = readerWrap.Get <int>("UserID");
     ExtendedFieldID = readerWrap.Get <string>("ExtendedFieldID");
     Value           = readerWrap.Get <string>("Value");
     PrivacyType     = readerWrap.Get <ExtendedFieldDisplayType>("PrivacyType");
 }
Пример #17
0
 public PollItem(DataReaderWrap readerWrap)
 {
     ThreadID      = readerWrap.Get <int>("ThreadID");
     ItemID        = readerWrap.Get <int>("ItemID");
     m_ItemName    = readerWrap.Get <string>("ItemName");
     PollItemCount = readerWrap.Get <int>("PollItemCount");
 }
Пример #18
0
 public RoleUser(DataReaderWrap readerWrap)
 {
     this.RoleID    = readerWrap.Get <int>("RoleID");
     this.BeginDate = readerWrap.Get <DateTime>("BeginDate");
     this.EndDate   = readerWrap.Get <DateTime>("EndDate");
     this.UserID    = readerWrap.Get <int>("UserID");
 }
Пример #19
0
 public TopicStatus(DataReaderWrap readerWrap)
 {
     this.ID       = readerWrap.Get <int>("ID");
     this.ThreadID = readerWrap.Get <int>("ThreadID");
     this.Type     = (TopicStatuType)readerWrap.Get <byte>("Type");
     this.EndDate  = readerWrap.Get <DateTime>("EndDate");
 }
Пример #20
0
 public ForumThreadCatalog(DataReaderWrap readerWrap)
 {
     this.ForumID         = readerWrap.Get <int>("ForumID");
     this.ThreadCatalogID = readerWrap.Get <int>("ThreadCatalogID");
     this.TotalThreads    = readerWrap.Get <int>("TotalThreads");
     this.SortOrder       = readerWrap.Get <int>("SortOrder");
 }
Пример #21
0
 public PointShowBase(DataReaderWrap readerWrap)
 {
     this.UserID     = readerWrap.Get <int>("UserID");
     this.ShowPoints = readerWrap.Get <int>("ShowPoints");
     this.Price      = readerWrap.Get <int>("Price");
     this.Content    = readerWrap.Get <string>("Content");
     this.CreateDate = readerWrap.Get <DateTime>("CreateDate");
 }
Пример #22
0
 public EmoticonGroup(DataReaderWrap readerWrap)
 {
     this.GroupID        = readerWrap.Get <int>("GroupID");
     this.UserID         = readerWrap.Get <int>("UserID");
     this.GroupName      = readerWrap.Get <string>("GroupName");
     this.TotalEmoticons = readerWrap.Get <int>("TotalEmoticons");
     this.TotalSizes     = readerWrap.Get <int>("TotalSizes");
 }
Пример #23
0
 public ThreadRank(DataReaderWrap readerWrap)
 {
     this.ThreadID   = readerWrap.Get <int>("ThreadID");
     this.UserID     = readerWrap.Get <int>("UserID");
     this.Rank       = readerWrap.Get <byte>("Rank");
     this.CreateDate = readerWrap.Get <DateTime>("CreateDate");
     this.UpdateDate = readerWrap.Get <DateTime>("UpdateDate");
 }
Пример #24
0
 public Impression(DataReaderWrap reader)
 {
     this.UserID         = reader.Get <int>("UserID");
     this.TypeID         = reader.Get <int>("TypeID");
     this.Count          = reader.Get <int>("Count");
     this.Text           = reader.Get <string>("Text");
     this.KeywordVersion = reader.Get <string>("KeywordVersion");
 }
Пример #25
0
        public UserNoAddFeedApp(DataReaderWrap readerWrap)
        {
            AppID = readerWrap.Get <Guid>("AppID");

            UserID     = readerWrap.Get <int>("UserID");
            ActionType = (int)readerWrap.Get <byte>("ActionType");
            Send       = readerWrap.Get <bool>("Send");
        }
Пример #26
0
 public BannedUser(DataReaderWrap wrap)
 {
     this.EndDate   = wrap.Get <DateTime>("EndDate");
     this.BeginDate = wrap.Get <DateTime>("BeginDate");
     this.ForumID   = wrap.Get <int>("ForumID");
     this.Cause     = wrap.Get <string>("Cause");
     this.UserID    = wrap.Get <int>("UserID");
 }
Пример #27
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");
 }
Пример #28
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");
        }
Пример #29
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");
        }
Пример #30
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")));
 }
Пример #31
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);
            }
        }
Пример #32
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");
        }
Пример #33
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;
 }
Пример #34
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");
 }
Пример #35
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");
 }
Пример #36
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");
 }
Пример #37
0
 public DeletingFile(DataReaderWrap readerWrap)
 {
     this.DeletingFileID = readerWrap.Get<int>("DeletingFileID");
     this.ServerFilePath = readerWrap.Get<string>("ServerFilePath");
 }
Пример #38
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");
            //=====================

        }
Пример #39
0
 public UserPassword(DataReaderWrap readerWrap)
 {
     UserID = readerWrap.Get<int>("UserID");
     Password = readerWrap.Get<string>("Password");
     PasswordFormat = readerWrap.Get<EncryptFormat>("PasswordFormat");
 }
Пример #40
0
 public void FillPoll(DataReaderWrap reader)
 {
     Multiple = reader.Get<int>("Multiple");
     AlwaysEyeable = reader.Get<bool>("AlwaysEyeable");
     ExpiresDate = reader.Get<DateTime>("ExpiresDate");
 }