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; } }
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; } }