November Happy Hour will be moved to Thursday December 5th.

Class MetaDataContext

Summary description for MetaDataContext.

Inheritance
System.Object
MetaDataContext
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: Mediachase.MetaDataPlus
Assembly: Mediachase.MetaDataPlus.dll
Version: 13.30.0
Syntax
public class MetaDataContext

Constructors

MetaDataContext()

Declaration
public MetaDataContext()

MetaDataContext(String)

Declaration
public MetaDataContext(string connectionString)
Parameters
Type Name Description
System.String connectionString

Properties

ConnectionString

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

DefaultCurrent

Declaration
public static MetaDataContext DefaultCurrent { get; set; }
Property Value
Type Description
MetaDataContext

Instance

Returns an instance of meta data context class

Declaration
public static MetaDataContext Instance { get; }
Property Value
Type Description
MetaDataContext

The instance.

Language

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

LocalDiskStorage

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

MetaFileDataStorageType

Declaration
public MetaFileDataStorageType MetaFileDataStorageType { get; set; }
Property Value
Type Description
MetaFileDataStorageType

UseCurrentThreadCulture

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

UseNeutralCulture

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

Methods

Clone()

Declaration
public MetaDataContext Clone()
Returns
Type Description
MetaDataContext

Clone(String)

Declaration
public MetaDataContext Clone(string language)
Parameters
Type Name Description
System.String language
Returns
Type Description
MetaDataContext

OnMetaClassUpdated(MetaClass, MetaField)

Declaration
protected virtual void OnMetaClassUpdated(MetaClass mc, MetaField mf)
Parameters
Type Name Description
MetaClass mc
MetaField mf

OnMetaFieldUnlinked(MetaClass, MetaField)

Declaration
protected virtual void OnMetaFieldUnlinked(MetaClass mc, MetaField mf)
Parameters
Type Name Description
MetaClass mc
MetaField mf

OnMetaFieldUpdated(MetaField)

When a meta field was updated.

Declaration
protected virtual void OnMetaFieldUpdated(MetaField mf)
Parameters
Type Name Description
MetaField mf

Updated meta field.

ReplaceUser(Int32, Int32)

Declaration
public void ReplaceUser(int oldUserId, int newUserId)
Parameters
Type Name Description
System.Int32 oldUserId
System.Int32 newUserId

Events

MetaFieldLinked

Declaration
public event EventHandler<MetaDataEventArgs> MetaFieldLinked
Event Type
Type Description
System.EventHandler<MetaDataEventArgs>

MetaFieldUnlinked

Declaration
public event EventHandler<MetaDataEventArgs> MetaFieldUnlinked
Event Type
Type Description
System.EventHandler<MetaDataEventArgs>

MetaFieldUpdated

Declaration
public event EventHandler<MetaDataEventArgs> MetaFieldUpdated
Event Type
Type Description
System.EventHandler<MetaDataEventArgs>