Table of Contents

Class MediaLibraryInfo

Namespace
CMS.MediaLibrary
Assembly
CMS.MediaLibrary.dll

Media library info data container class.

[InfoCache(InfoCacheBy.ID|InfoCacheBy.Name, Priority = InfoCachePriority.NotRemovable)]
public class MediaLibraryInfo : AbstractInfo<MediaLibraryInfo, IMediaLibraryInfoProvider>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithName
Inheritance
object
MediaLibraryInfo
Implements
Inherited Members
Extension Methods

Constructors

MediaLibraryInfo()

Constructor - Creates an empty MediaLibraryInfo object.

public MediaLibraryInfo()

MediaLibraryInfo(DataRow)

Constructor - Creates a new MediaLibraryInfo object from the given DataRow.

public MediaLibraryInfo(DataRow dr)

Parameters

dr DataRow

Fields

OBJECT_TYPE

Object type

public const string OBJECT_TYPE = "media.library"

Field Value

string

TYPEINFO

Type information.

public static ObjectTypeInfo TYPEINFO

Field Value

ObjectTypeInfo

Properties

LibraryDescription

Library description.

[DatabaseField]
public virtual string LibraryDescription { get; set; }

Property Value

string

LibraryDisplayName

Library display name.

[DatabaseField]
public virtual string LibraryDisplayName { get; set; }

Property Value

string

LibraryFolder

Library folder.

[DatabaseField]
public virtual string LibraryFolder { get; set; }

Property Value

string

LibraryFullName

Media library full name in format [libraryname].

[DatabaseField]
public virtual string LibraryFullName { get; }

Property Value

string

LibraryGUID

Library GUID.

[DatabaseField]
public virtual Guid LibraryGUID { get; set; }

Property Value

Guid

LibraryID

Library ID.

[DatabaseField]
public virtual int LibraryID { get; set; }

Property Value

int

LibraryLastModified

Library last modified.

[DatabaseField]
public virtual DateTime LibraryLastModified { get; set; }

Property Value

DateTime

LibraryName

Library name.

[DatabaseField]
public virtual string LibraryName { get; set; }

Property Value

string

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

InsertAsCloneInternal(CloneSettings, CloneResult, BaseInfo)

Inserts cloned object to DB.

protected override void InsertAsCloneInternal(CloneSettings settings, CloneResult result, BaseInfo originalObject)

Parameters

settings CloneSettings

Cloning settings

result CloneResult

Cloning result

originalObject BaseInfo

Original source BaseInfo (object being cloned)

RemoveObjectDependencies(bool, bool)

Removes library dependencies.

protected override void RemoveObjectDependencies(bool deleteAll = false, bool clearHashtables = true)

Parameters

deleteAll bool
clearHashtables bool

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()