Client model for BinaryFileType that includes all the fields that are available for GETs. Use this for GETs (use BinaryFileTypeEntity for POST/PUTs)
상속: BinaryFileTypeEntity
예제 #1
0
 /// <summary>
 /// Copies the base properties from a source BinaryFileType object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(BinaryFileType source)
 {
     this.Id           = source.Id;
     this.AllowCaching = source.AllowCaching;
     this.Description  = source.Description;
     this.ForeignGuid  = source.ForeignGuid;
     this.ForeignKey   = source.ForeignKey;
     this.IconCssClass = source.IconCssClass;
     this.IsSystem     = source.IsSystem;
     this.MaxHeight    = source.MaxHeight;
     this.MaxWidth     = source.MaxWidth;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Name = source.Name;
     this.PreferredColorDepth     = source.PreferredColorDepth;
     this.PreferredFormat         = source.PreferredFormat;
     this.PreferredRequired       = source.PreferredRequired;
     this.PreferredResolution     = source.PreferredResolution;
     this.RequiresViewSecurity    = source.RequiresViewSecurity;
     this.StorageEntityTypeId     = source.StorageEntityTypeId;
     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 BinaryFileType object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( BinaryFileType source )
 {
     this.Id = source.Id;
     this.AllowCaching = source.AllowCaching;
     this.Description = source.Description;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.IconCssClass = source.IconCssClass;
     this.IsSystem = source.IsSystem;
     this.MaxHeight = source.MaxHeight;
     this.MaxWidth = source.MaxWidth;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Name = source.Name;
     this.PreferredColorDepth = source.PreferredColorDepth;
     this.PreferredFormat = source.PreferredFormat;
     this.PreferredRequired = source.PreferredRequired;
     this.PreferredResolution = source.PreferredResolution;
     this.RequiresViewSecurity = source.RequiresViewSecurity;
     this.StorageEntityTypeId = source.StorageEntityTypeId;
     this.CreatedDateTime = source.CreatedDateTime;
     this.ModifiedDateTime = source.ModifiedDateTime;
     this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }