コード例 #1
0
        }                                            // 关联上传人ID

        public BusinessImage()
        {
            this.Id           = Guid.NewGuid();
            this.SortCode     = UtilitiesForEntity.SortCodeByDefaultDateTime <BusinessImage>();
            this.UploadedTime = DateTime.Now;
            this.IsForTitle   = false;
        }
コード例 #2
0
        }                                                         // 关联用户

        public Employee()
        {
            this.Id    = Guid.NewGuid();
            UpdateTime = CreateDateTime = Birthday = ExpiredDateTime = DateTime.Now;
            Name       = Description = EmployeeCode = TelephoneNumber = Mobile = Email = CredentialsCode = Address = AvatarPath = "";
            SortCode   = UtilitiesForEntity.SortCodeByDefaultDateTime <Employee>();
        }
コード例 #3
0
        }                                                    // 创建人

        public CourseItemContent()
        {
            this.Id    = Guid.NewGuid();
            Name       = Description = SecondTitle = HeadContent = FootContent = "";
            UpdateDate = DateTime.Now;
            SortCode   = UtilitiesForEntity.SortCodeByDefaultDateTime <CourseItemContent>();
        }
コード例 #4
0
ファイル: Article.cs プロジェクト: weitian666/2017SoftWebDev
        }                                                         // 创建人

        public Article()
        {
            Id          = Guid.NewGuid();
            Name        = Description = ArticleSecondTitle = ArticleSource = "";
            IsOriented  = false;
            CreateDate  = DateTime.Now;
            PublishDate = DateTime.Now;
            OpenDate    = DateTime.Now;
            CloseDate   = DateTime.Now;
            UpdateDate  = DateTime.Now;
            SortCode    = UtilitiesForEntity.SortCodeByDefaultDateTime <Article>();
        }
コード例 #5
0
 public ArticleTopic()
 {
     this.Id   = Guid.NewGuid();
     this.Name = this.Description = "";
     SortCode  = UtilitiesForEntity.SortCodeByDefaultDateTime <ArticleTopic>();
 }
コード例 #6
0
 public ArticleWithVideo()
 {
     Id       = Guid.NewGuid();
     SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <ArticleWithVideo>();
 }
コード例 #7
0
 }                                                              // 关联上传人ID
 public BusinessFile()
 {
     this.Id       = Guid.NewGuid();
     this.SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <BusinessFile>();
     this.AttachmentTimeUploaded = DateTime.Now;
 }
コード例 #8
0
        }                                          // 标签引用次数

        public ArticleCommentTag()
        {
            this.Id       = Guid.NewGuid();
            this.SortCode = UtilitiesForEntity.SortCodeByDefaultDateTime <ArticleCommentTag>();
        }