Class MetaDataCommitter
This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Commits content property values to the corresponding meta data plus storage format.
Inheritance
System.Object
MetaDataCommitter
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: EPiServer.Commerce.Catalog.Provider.Persistence
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2Syntax
public class MetaDataCommitter
Remarks
This committer works with published version only. Use the ContentVersionCommitter to work with draft version.
Constructors
MetaDataCommitter(MetaDataPropertyMapper, IMarketService, MetaDataPropertyConfiguration)
Initializes a new instance of the MetaDataCommitter class.
Declaration
public MetaDataCommitter(MetaDataPropertyMapper metaDataPropertyMapper, IMarketService marketService, MetaDataPropertyConfiguration metaDataPropertyConfiguration)
Parameters
Type | Name | Description |
---|---|---|
MetaDataPropertyMapper | metaDataPropertyMapper | The meta data property mapper. |
IMarketService | marketService | The market service. |
MetaDataPropertyConfiguration | metaDataPropertyConfiguration | The catalog meta data property configuration. |
Methods
CommitMetaAttributes<T>(T, Int32)
This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code. Commits the meta attributes.
Declaration
public virtual void CommitMetaAttributes<T>(T content, int objectId)
where T : CatalogContentBase, IMetaClass
Parameters
Type | Name | Description |
---|---|---|
T | content | The content. |
System.Int32 | objectId | The object ID. |
Type Parameters
Name | Description |
---|---|
T |