Client model for BinaryFile that includes all the fields that are available for GETs. Use this for GETs (use BinaryFileEntity for POST/PUTs)
Inheritance: BinaryFileEntity
Ejemplo n.º 1
0
 /// <summary>
 /// Copies the base properties from a source BinaryFile object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(BinaryFile source)
 {
     this.Id = source.Id;
     this.BinaryFileTypeId    = source.BinaryFileTypeId;
     this.ContentLastModified = source.ContentLastModified;
     this.Description         = source.Description;
     this.FileName            = source.FileName;
     this.ForeignGuid         = source.ForeignGuid;
     this.ForeignKey          = source.ForeignKey;
     this.IsSystem            = source.IsSystem;
     this.IsTemporary         = source.IsTemporary;
     this.MimeType            = source.MimeType;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Path = source.Path;
     this.StorageEntitySettings   = source.StorageEntitySettings;
     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 BinaryFile object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( BinaryFile source )
 {
     this.Id = source.Id;
     this.BinaryFileTypeId = source.BinaryFileTypeId;
     this.ContentLastModified = source.ContentLastModified;
     this.Description = source.Description;
     this.FileName = source.FileName;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.IsSystem = source.IsSystem;
     this.IsTemporary = source.IsTemporary;
     this.MimeType = source.MimeType;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Path = source.Path;
     this.StorageEntitySettings = source.StorageEntitySettings;
     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.º 3
0
 /// <summary>
 /// Copies the base properties from a source BinaryFile object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( BinaryFile source )
 {
     this.Id = source.Id;
     this.BinaryFileTypeId = source.BinaryFileTypeId;
     this.ContentLastModified = source.ContentLastModified;
     this.Description = source.Description;
     this.FileName = source.FileName;
     this.IsSystem = source.IsSystem;
     this.IsTemporary = source.IsTemporary;
     this.MimeType = source.MimeType;
     this.Path = source.Path;
     this.StorageEntitySettings = source.StorageEntitySettings;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }