コード例 #1
0
		internal PostComment(vw_carrot_Comment c) {
			if (c != null) {
				this.ContentCommentID = c.ContentCommentID;
				this.Root_ContentID = c.Root_ContentID;
				this.CreateDate = SiteData.CurrentSite.ConvertUTCToSiteTime(c.CreateDate);
				this.CommenterIP = c.CommenterIP;
				this.CommenterName = c.CommenterName;
				this.CommenterEmail = c.CommenterEmail;
				this.CommenterURL = c.CommenterURL;
				this.PostCommentText = c.PostComment;
				this.IsApproved = c.IsApproved;
				this.IsSpam = c.IsSpam;
				this.NavMenuText = c.NavMenuText;
				this.FileName = c.FileName;
			}
		}
コード例 #2
0
 internal PostComment(vw_carrot_Comment c)
 {
     if (c != null)
     {
         this.ContentCommentID = c.ContentCommentID;
         this.Root_ContentID   = c.Root_ContentID;
         this.CreateDate       = SiteData.CurrentSite.ConvertUTCToSiteTime(c.CreateDate);
         this.CommenterIP      = c.CommenterIP;
         this.CommenterName    = c.CommenterName;
         this.CommenterEmail   = c.CommenterEmail;
         this.CommenterURL     = c.CommenterURL;
         this.PostCommentText  = c.PostComment;
         this.IsApproved       = c.IsApproved;
         this.IsSpam           = c.IsSpam;
         this.NavMenuText      = c.NavMenuText;
         this.FileName         = c.FileName;
     }
 }