Search Results for

    Show / Hide Table of Contents

    Class DbMediaVersion

    Represents a version of a media item

    Inheritance
    System.Object
    DbMediaVersion
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: ImageVault.Core.Common.DbEntities
    Assembly: ImageVault.Core.dll
    Syntax
    public class DbMediaVersion

    Constructors

    DbMediaVersion()

    Declaration
    public DbMediaVersion()

    Properties

    Comment

    Defines a comment for the version

    Declaration
    public string Comment { get; set; }
    Property Value
    Type Description
    System.String

    ContentHashId

    Gets the id of the content hash for the original content

    Declaration
    public int? ContentHashId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Created

    Get/Sets the Created of the DbMediaItem

    Declaration
    public DateTime Created { get; set; }
    Property Value
    Type Description
    System.DateTime

    Date when item was added to the system

    CreatedBy

    Get/Sets the CreatedBy of the DbMediaItem

    Declaration
    public string CreatedBy { get; set; }
    Property Value
    Type Description
    System.String

    Name of the user that added the item

    Deleted

    If the media item is deleted

    Declaration
    public bool Deleted { get; set; }
    Property Value
    Type Description
    System.Boolean

    DuplicateVersionId

    Get/sets the items that are considered duplicates

    Declaration
    public IList<int> DuplicateVersionId { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IList<System.Int32>

    Id

    The id of the MediaVersion

    Declaration
    public int Id { get; set; }
    Property Value
    Type Description
    System.Int32

    MediaContentReferences

    Get/Sets the MediaContentReferences of the DbMediaItem

    Declaration
    public ICollection<DbMediaContentReference> MediaContentReferences { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.ICollection<DbMediaContentReference>

    The System.Collections.Generic.ICollection<T> of the item

    MediaItem

    The media item that the version belongs to

    Declaration
    public DbMediaItem MediaItem { get; set; }
    Property Value
    Type Description
    DbMediaItem

    MediaItemId

    Get/Sets the MediaItemId of the DbMediaItem

    Declaration
    public int MediaItemId { get; set; }
    Property Value
    Type Description
    System.Int32

    The id of the media item

    Metadata

    Get/Sets the DbMetadata of the DbMediaItem

    Declaration
    public ICollection<DbMetadata> Metadata { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.ICollection<DbMetadata>

    The System.Collections.Generic.ICollection<T> of the item

    Name

    Get/Sets the Name of the DbMediaVersion

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Filename of the original file

    State

    Get/Sets the State of the DbMediaItem

    Declaration
    public MediaItemStates State { get; set; }
    Property Value
    Type Description
    MediaItemStates

    Version

    Get/Sets the Row Version of the DbMediaItem

    Declaration
    public byte[] Version { get; set; }
    Property Value
    Type Description
    System.Byte[]

    Methods

    ToMediaVersion(Boolean)

    Creates a MediaVersion representing the DbMediaVersion

    Declaration
    public MediaVersion ToMediaVersion(bool populateMediaItem = false)
    Parameters
    Type Name Description
    System.Boolean populateMediaItem
    Returns
    Type Description
    MediaVersion
    In This Article
    Back to top (c) Meriworks 2002-2022