Simple Client Model for ContentChannelItem
 /// <summary>
 /// Copies the base properties from a source ContentChannelItem object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(ContentChannelItem source)
 {
     this.Id = source.Id;
     this.ApprovedByPersonAliasId = source.ApprovedByPersonAliasId;
     this.ApprovedDateTime        = source.ApprovedDateTime;
     this.Content              = source.Content;
     this.ContentChannelId     = source.ContentChannelId;
     this.ContentChannelTypeId = source.ContentChannelTypeId;
     this.ExpireDateTime       = source.ExpireDateTime;
     this.ForeignGuid          = source.ForeignGuid;
     this.ForeignKey           = source.ForeignKey;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Permalink               = source.Permalink;
     this.Priority                = source.Priority;
     this.StartDateTime           = source.StartDateTime;
     this.Status                  = source.Status;
     this.Title                   = source.Title;
     this.CreatedDateTime         = source.CreatedDateTime;
     this.ModifiedDateTime        = source.ModifiedDateTime;
     this.CreatedByPersonAliasId  = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid      = source.Guid;
     this.ForeignId = source.ForeignId;
 }
示例#2
0
 /// <summary>
 /// Copies the base properties from a source ContentChannelItem object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( ContentChannelItem source )
 {
     this.Id = source.Id;
     this.ApprovedByPersonAliasId = source.ApprovedByPersonAliasId;
     this.ApprovedDateTime = source.ApprovedDateTime;
     this.Content = source.Content;
     this.ContentChannelId = source.ContentChannelId;
     this.ContentChannelTypeId = source.ContentChannelTypeId;
     this.ExpireDateTime = source.ExpireDateTime;
     this.Permalink = source.Permalink;
     this.Priority = source.Priority;
     this.StartDateTime = source.StartDateTime;
     this.Status = source.Status;
     this.Title = source.Title;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }
示例#3
0
 /// <summary>
 /// Copies the base properties from a source ContentChannelItem object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( ContentChannelItem source )
 {
     this.Id = source.Id;
     this.ApprovedByPersonAliasId = source.ApprovedByPersonAliasId;
     this.ApprovedDateTime = source.ApprovedDateTime;
     this.Content = source.Content;
     this.ContentChannelId = source.ContentChannelId;
     this.ContentChannelTypeId = source.ContentChannelTypeId;
     this.ExpireDateTime = source.ExpireDateTime;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Order = source.Order;
     this.Permalink = source.Permalink;
     this.Priority = source.Priority;
     this.StartDateTime = source.StartDateTime;
     this.Status = source.Status;
     this.Title = source.Title;
     this.CreatedDateTime = source.CreatedDateTime;
     this.ModifiedDateTime = source.ModifiedDateTime;
     this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }