Class MetaDataOptions
Contains options for the metadata system.
Inheritance
System.Object
MetaDataOptions
Namespace: Mediachase.MetaDataPlus
Assembly: Mediachase.MetaDataPlus.dll
Version: 14.26.0Syntax
public class MetaDataOptions : Object
Constructors
MetaDataOptions()
Declaration
public MetaDataOptions()
Properties
AllowUntypedCatalogContent
Allows for no models to need to exist for catalog content. Default value is false.
Declaration
public bool AllowUntypedCatalogContent { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CacheExpiration
The default expiration time.
Declaration
public TimeSpan CacheExpiration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 10 minutes.
DisableVersionSync
Gets the value of the DisableVersionSync appSetting, indicating whether an update to Catalog content done outside the Content APIs will remove any version data (e.g. drafts, old published versions...) for the affected Content. Setting this to true can improve the speed of batch operations done through the lower-level API:s (like ICatalogSystem), e.g. the catalog import.
Declaration
public bool DisableVersionSync { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RemoveOrphanedMetaKeysBatchSize
Batch size for remove orphaned key job.
Declaration
public int RemoveOrphanedMetaKeysBatchSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |