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()
Assembly: Mediachase.MetaDataPlus.dll
Version: 12.17.2
Syntax
public class MetaDataContext
Constructors
MetaDataContext()
Declaration
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
Instance
Returns an instance of meta data context class
Declaration
public static MetaDataContext Instance { get; }
Property Value
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
UseCurrentThreadCulture
Declaration
public bool UseCurrentThreadCulture { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Clone()
Declaration
public MetaDataContext Clone()
Returns
Clone(String)
Declaration
public MetaDataContext Clone(string language)
Parameters
Type |
Name |
Description |
System.String |
language |
|
Returns
OnMetaClassUpdated(MetaClass, MetaField)
Declaration
protected virtual void OnMetaClassUpdated(MetaClass mc, MetaField mf)
Parameters
OnMetaFieldUnlinked(MetaClass, MetaField)
Declaration
protected virtual void OnMetaFieldUnlinked(MetaClass mc, MetaField mf)
Parameters
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
MetaFieldUnlinked
Declaration
public event EventHandler<MetaDataEventArgs> MetaFieldUnlinked
Event Type
MetaFieldUpdated
Declaration
public event EventHandler<MetaDataEventArgs> MetaFieldUpdated
Event Type