Client model for HtmlContent that includes all the fields that are available for GETs. Use this for GETs (use HtmlContentEntity for POST/PUTs)
Inheritance: HtmlContentEntity
Ejemplo n.º 1
0
 /// <summary>
 /// Copies the base properties from a source HtmlContent object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(HtmlContent source)
 {
     this.Id = source.Id;
     this.ApprovedByPersonAliasId = source.ApprovedByPersonAliasId;
     this.ApprovedDateTime        = source.ApprovedDateTime;
     this.BlockId        = source.BlockId;
     this.Content        = source.Content;
     this.EntityValue    = source.EntityValue;
     this.ExpireDateTime = source.ExpireDateTime;
     this.ForeignGuid    = source.ForeignGuid;
     this.ForeignKey     = source.ForeignKey;
     this.IsApproved     = source.IsApproved;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.StartDateTime           = source.StartDateTime;
     this.Version                 = source.Version;
     this.CreatedDateTime         = source.CreatedDateTime;
     this.ModifiedDateTime        = source.ModifiedDateTime;
     this.CreatedByPersonAliasId  = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid      = source.Guid;
     this.ForeignId = source.ForeignId;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Copies the base properties from a source HtmlContent object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( HtmlContent source )
 {
     this.Id = source.Id;
     this.ApprovedByPersonAliasId = source.ApprovedByPersonAliasId;
     this.ApprovedDateTime = source.ApprovedDateTime;
     this.BlockId = source.BlockId;
     this.Content = source.Content;
     this.EntityValue = source.EntityValue;
     this.ExpireDateTime = source.ExpireDateTime;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.IsApproved = source.IsApproved;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.StartDateTime = source.StartDateTime;
     this.Version = source.Version;
     this.CreatedDateTime = source.CreatedDateTime;
     this.ModifiedDateTime = source.ModifiedDateTime;
     this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }