A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class MetaObjectHelper

Inheritance
System.Object
MetaObjectHelper
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.Helpers
Assembly: Mediachase.MetaDataPlus.dll
Version: 10.8.0
Syntax
public static class MetaObjectHelper

Methods

UpdateBatchOfMetaObject(MetaDataContext, Dictionary<String, Dictionary<String, MetaObject>>)

Updates batch of meta object. It updates all user-defined fields of the meta object in CatalogContentProperty and extra info on CatalogContentEx table.

Declaration
[Obsolete("This overload passes values as a nested dictionary where the outer dictionary key is not used. Use overload with IEnumerable. Will remain at least until April 2017.")]
public static void UpdateBatchOfMetaObject(MetaDataContext context, Dictionary<string, Dictionary<string, MetaObject>> metaObjectsList)
Parameters
Type Name Description
MetaDataContext context

The meta data context.

System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.Dictionary<System.String, MetaObject>> metaObjectsList

The dictionary of MetaData objects.

UpdateBatchOfMetaObject(MetaDataContext, IEnumerable<Dictionary<String, MetaObject>>)

Updates batch of meta object. It updates all user-defined fields of the meta object in CatalogContentProperty and extra info on CatalogContentEx table.

Declaration
public static void UpdateBatchOfMetaObject(MetaDataContext context, IEnumerable<Dictionary<string, MetaObject>> metaObjectsByLanguages)
Parameters
Type Name Description
MetaDataContext context

The meta data context.

System.Collections.Generic.IEnumerable<System.Collections.Generic.Dictionary<System.String, MetaObject>> metaObjectsByLanguages

A collection of dictionaries of MetaData objects keyed by language (language variations of the same meta object).