Class ExcludedCatalogEntryMarketsField
Inheritance
System.Object
ExcludedCatalogEntryMarketsField
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.Commerce.dll
Version: 12.17.2
Syntax
public class ExcludedCatalogEntryMarketsField : RequiredMetaFieldBase, IRequiredMetaField
Constructors
ExcludedCatalogEntryMarketsField()
Declaration
public ExcludedCatalogEntryMarketsField()
ExcludedCatalogEntryMarketsField(IMarketService)
Declaration
public ExcludedCatalogEntryMarketsField(IMarketService marketService)
Parameters
Fields
FieldName
Declaration
public const string FieldName = "_ExcludedCatalogEntryMarkets"
Field Value
Type |
Description |
System.String |
|
Properties
UseStandardEditControl
Declaration
public override bool UseStandardEditControl { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
GetMetaField(MetaDataContext)
Declaration
public override MetaField GetMetaField(MetaDataContext context)
Parameters
Returns
Overrides
IsValidForMarket(CatalogEntryDto.CatalogEntryRow, IMarket)
Determines whether or not the current catalog entry is available in a market
Declaration
public bool IsValidForMarket(CatalogEntryDto.CatalogEntryRow row, IMarket market)
Parameters
Returns
Type |
Description |
System.Boolean |
true if the catalog entry is available in the passed market, or false if is it unavailable
|
UpdateMarketsDictionary(MetaDataContext)
Updates the dictionary associated with the metafield to have all market IDs.
This does not delete any market IDs that are no longer active; delete functionality
may be more difficult to maintain consistency with entries that may have a reference
to the delete items.
Declaration
public void UpdateMarketsDictionary(MetaDataContext context)
Parameters
Type |
Name |
Description |
MetaDataContext |
context |
The meta data context to access the metadata system with.
|
Implements