/// <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; }
/// <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; }
/// <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; }