Class CategoryMappingMetaClass
Summary description for SkuMappingMetaClass.
Inherited Members
Namespace: Mediachase.Commerce.Catalog.CSVImport
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class CategoryMappingMetaClass : MappingMetaClass
Constructors
CategoryMappingMetaClass(MetaDataContext, Int32)
Initializes a new instance of the CategoryMappingMetaClass class.
Declaration
public CategoryMappingMetaClass(MetaDataContext context, int CatalogId)
Parameters
| Type | Name | Description |
|---|---|---|
| MetaDataContext | context | The context. |
| System.Int32 | CatalogId | The catalog id. |
CategoryMappingMetaClass(MetaDataContext, Int32, Int32)
Initializes a new instance of the CategoryMappingMetaClass class.
Declaration
public CategoryMappingMetaClass(MetaDataContext context, int metaClassId, int CatalogId)
Parameters
| Type | Name | Description |
|---|---|---|
| MetaDataContext | context | The context. |
| System.Int32 | metaClassId | The meta class id. |
| System.Int32 | CatalogId | The catalog id. |
CategoryMappingMetaClass(MetaDataContext, String, Int32)
Initializes a new instance of the CategoryMappingMetaClass class.
Declaration
public CategoryMappingMetaClass(MetaDataContext context, string metaClassName, int CatalogId)
Parameters
| Type | Name | Description |
|---|---|---|
| MetaDataContext | context | The context. |
| System.String | metaClassName | Name of the meta class. |
| System.Int32 | CatalogId | The catalog id. |
Methods
ConvertToDictionary(Object, MetaDataType, String, Int32, out MDPImportWarning[])
Converts to dictionary.
Declaration
protected override object ConvertToDictionary(object value, MetaDataType DestType, string DestFieldName, int RowIndex, out MDPImportWarning[] warnings)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value | The value. |
| MetaDataType | DestType | Type of the dest. |
| System.String | DestFieldName | Name of the dest field. |
| System.Int32 | RowIndex | Index of the row. |
| MDPImportWarning[] | warnings | The warnings. |
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
ConvertToFile(Object, MetaDataType, String, Int32, out MDPImportWarning[])
Converts to file.
Declaration
protected override object ConvertToFile(object value, MetaDataType Dest, string DestFieldName, int RowIndex, out MDPImportWarning[] warnings)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | value | The value. |
| MetaDataType | Dest | The dest. |
| System.String | DestFieldName | Name of the dest field. |
| System.Int32 | RowIndex | Index of the row. |
| MDPImportWarning[] | warnings | The warnings. |
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
CreateSystemRow(FillDataMode, Int32, ArrayList, Object[])
Creates the system row.
Declaration
protected override int CreateSystemRow(FillDataMode Mode, int RowIndex, ArrayList warningList, params object[] Item)
Parameters
| Type | Name | Description |
|---|---|---|
| FillDataMode | Mode | The mode. |
| System.Int32 | RowIndex | Index of the row. |
| System.Collections.ArrayList | warningList | The warning list. |
| System.Object[] | Item | The item. |
Returns
| Type | Description |
|---|---|
| System.Int32 |
Overrides
FillSystemColumnInfo(ArrayList)
Fills the system column info.
Declaration
protected override void FillSystemColumnInfo(ArrayList array)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.ArrayList | array | The array. |
Overrides
RaiseObjectUpdatedEvent(Int32)
Raise node updated event.
Declaration
protected override void RaiseObjectUpdatedEvent(int objectId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | objectId | The catalog node id. |
Overrides
SetSystemFields(Int32, MetaObject, Rule)
Declaration
protected override void SetSystemFields(int objectId, MetaObject metaObject, Rule mapping)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | objectId | |
| MetaObject | metaObject | |
| Rule | mapping |