Search Results for

    Show / Hide Table of Contents

    Class DbMediaItem

    Summary description for DbMediaItem.

    Inheritance
    System.Object
    DbMediaItem
    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 DbMediaItem

    Constructors

    DbMediaItem()

    Declaration
    public DbMediaItem()

    Properties

    Agreements

    Get/Sets the Agreements of the DbMediaItem

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

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

    Categories

    Get/Sets the Categories of the DbMediaItem

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

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

    CurrentVersionId

    Keeps track of the current version of the media item

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

    Deleted

    If the media item is deleted

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

    DeletedDate

    Date when the item is deleted

    Declaration
    public DateTime? DeletedDate { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>

    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

    MediaShareItems

    Get/Sets the MediaShareItems of the DbMediaItem

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

    MediaVersion

    Contains the MediaVersion information

    Declaration
    public DbMediaVersion MediaVersion { get; set; }
    Property Value
    Type Description
    DbMediaVersion

    State

    State for the asset

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

    Vault

    Get/Sets the Vault of the DbMediaItem

    Declaration
    public DbVault Vault { get; set; }
    Property Value
    Type Description
    DbVault

    The Vault of the item

    VaultId

    Get/Sets the VaultId of the DbMediaItem

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

    The id of the Vault that the media item belongs to

    Version

    Get/Sets the Row Version of the DbMediaItem

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

    Methods

    ShallowCopy()

    Creates a shallow copy with only the native fields copied

    Declaration
    public DbMediaItem ShallowCopy()
    Returns
    Type Description
    DbMediaItem

    ToMediaItem(Boolean)

    Converts the DbMediaItem to a MediaItem instance

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