Class DbMediaContentReference
Summary description for DbMediaContentReference.
Inherited Members
Namespace: ImageVault.Core.Common.DbEntities
Assembly: ImageVault.Core.dll
Syntax
public class DbMediaContentReference : MediaContentBase
Constructors
DbMediaContentReference()
Initializes a new instance of the DbMediaContentReference class.
Declaration
public DbMediaContentReference()
DbMediaContentReference(MediaContentReference)
Creates a DbMediaContentReference from a MediaContentReference
Declaration
public DbMediaContentReference(MediaContentReference mediaContentReference)
Parameters
Type | Name | Description |
---|---|---|
MediaContentReference | mediaContentReference |
DbMediaContentReference(MediaContentBase)
Initializes a new instance of the DbMediaContentReference class.
Declaration
public DbMediaContentReference(MediaContentBase content)
Parameters
Type | Name | Description |
---|---|---|
MediaContentBase | content |
DbMediaContentReference(DbMediaVersion, Int32)
Initializes a new instance of the DbMediaContentReference class.
Declaration
public DbMediaContentReference(DbMediaVersion mediaVersion, int mediaFormatId)
Parameters
Type | Name | Description |
---|---|---|
DbMediaVersion | mediaVersion | |
System.Int32 | mediaFormatId |
Properties
DateModified
Get/Sets the LastModified of the DbMediaContentReference
Declaration
[DateTimeKind(DateTimeKind.Utc)]
public DateTime? DateModified { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
Deleted
Get/Sets the Deleted of the DbMediaContentReference
Declaration
public bool Deleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ETag
Get/Sets the ETag of the DbMediaContentReference
Declaration
public string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Media
Get/Sets the Media of the DbMediaContentReference
Declaration
public Media Media { get; set; }
Property Value
Type | Description |
---|---|
Media |
MediaConverterTypeId
Get/Sets the MediaConverterTypeId of the DbMediaContentReference
Declaration
public int? MediaConverterTypeId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
MediaInformation
Get/Sets the MediaInformation of the DbMediaContentReference
Declaration
public string MediaInformation { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MediaVersion
Gets the MediaVersion of the content
Declaration
public DbMediaVersion MediaVersion { get; set; }
Property Value
Type | Description |
---|---|
DbMediaVersion |
PublishDetails
Gets the publish details for the supplied reference
Declaration
public DbPublishDetails PublishDetails { get; set; }
Property Value
Type | Description |
---|---|
DbPublishDetails |
PublishedMedia
Get/Sets the PublishedMedia of the DbMediaContentReference
Declaration
public Media PublishedMedia { get; set; }
Property Value
Type | Description |
---|---|
Media |
PublishedMediaContentReferenceId
Get/Sets the PublishedMediaContentReferenceId of the DbMediaContentReference
Declaration
public string PublishedMediaContentReferenceId { get; set; }
Property Value
Type | Description |
---|---|
System.String | Will be populated if publishedContent is requested |
PublishedMediaContentReferences
Get/Sets the PublishedMediaContentReferences of the DbMediaContentReference
Declaration
public ICollection<DbPublishedMediaContentReference> PublishedMediaContentReferences { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<DbPublishedMediaContentReference> |
RegenerateMedia
Get/Sets the Deleted of the DbMediaContentReference
Declaration
public bool RegenerateMedia { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
ToMediaContentReference()
Creates a MediaContentReference representing this instance.
Declaration
public MediaContentReference ToMediaContentReference()
Returns
Type | Description |
---|---|
MediaContentReference |