Client model for EventItem that includes all the fields that are available for GETs. Use this for GETs (use EventItemEntity for POST/PUTs)
Inheritance: EventItemEntity
示例#1
0
 /// <summary>
 /// Copies the base properties from a source EventItem object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(EventItem source)
 {
     this.Id = source.Id;
     this.ApprovedByPersonAliasId = source.ApprovedByPersonAliasId;
     this.ApprovedOnDateTime      = source.ApprovedOnDateTime;
     this.Description             = source.Description;
     this.DetailsUrl  = source.DetailsUrl;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey  = source.ForeignKey;
     this.IsActive    = source.IsActive;
     this.IsApproved  = source.IsApproved;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Name                    = source.Name;
     this.PhotoId                 = source.PhotoId;
     this.Summary                 = source.Summary;
     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 EventItem object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( EventItem source )
 {
     this.Id = source.Id;
     this.ApprovedByPersonAliasId = source.ApprovedByPersonAliasId;
     this.ApprovedOnDateTime = source.ApprovedOnDateTime;
     this.Description = source.Description;
     this.DetailsUrl = source.DetailsUrl;
     this.IsActive = source.IsActive;
     this.IsApproved = source.IsApproved;
     this.Name = source.Name;
     this.PhotoId = source.PhotoId;
     this.Summary = source.Summary;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }
示例#3
0
 /// <summary>
 /// Copies the base properties from a source EventItem object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( EventItem source )
 {
     this.Id = source.Id;
     this.ApprovedByPersonAliasId = source.ApprovedByPersonAliasId;
     this.ApprovedOnDateTime = source.ApprovedOnDateTime;
     this.Description = source.Description;
     this.DetailsUrl = source.DetailsUrl;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.IsActive = source.IsActive;
     this.IsApproved = source.IsApproved;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Name = source.Name;
     this.PhotoId = source.PhotoId;
     this.Summary = source.Summary;
     this.CreatedDateTime = source.CreatedDateTime;
     this.ModifiedDateTime = source.ModifiedDateTime;
     this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }