Class VariationMappingMetaClass
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.Commerce.Catalog.CSVImport
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class VariationMappingMetaClass : MappingMetaClass
Constructors
VariationMappingMetaClass(IWarehouseRepository, IWarehouseInventoryService, MetaClass, Int32)
Declaration
[Obsolete("Use constructor with Mediachase.Commerce.InventoryService.IInventoryService. Will remain at least until October 2017.")]
public VariationMappingMetaClass(IWarehouseRepository warehouseRepository, IWarehouseInventoryService inventoryService, MetaClass metaClass, int catalogId)
Parameters
Type | Name | Description |
---|---|---|
IWarehouseRepository | warehouseRepository | |
IWarehouseInventoryService | inventoryService | |
MetaClass | metaClass | |
System.Int32 | catalogId |
VariationMappingMetaClass(IWarehouseRepository, IWarehouseInventoryService, MetaDataContext, Int32)
Declaration
[Obsolete("Use constructor with Mediachase.Commerce.InventoryService.IInventoryService. Will remain at least until October 2017.")]
public VariationMappingMetaClass(IWarehouseRepository warehouseRepository, IWarehouseInventoryService inventoryService, MetaDataContext metaContext, int catalogId)
Parameters
Type | Name | Description |
---|---|---|
IWarehouseRepository | warehouseRepository | |
IWarehouseInventoryService | inventoryService | |
MetaDataContext | metaContext | |
System.Int32 | catalogId |
VariationMappingMetaClass(IWarehouseRepository, IWarehouseInventoryService, MetaDataContext, Int32, Int32)
Declaration
[Obsolete("Use constructor with Mediachase.Commerce.InventoryService.IInventoryService. Will remain at least until October 2017.")]
public VariationMappingMetaClass(IWarehouseRepository warehouseRepository, IWarehouseInventoryService inventoryService, MetaDataContext metaContext, int metaClassId, int catalogId)
Parameters
Type | Name | Description |
---|---|---|
IWarehouseRepository | warehouseRepository | |
IWarehouseInventoryService | inventoryService | |
MetaDataContext | metaContext | |
System.Int32 | metaClassId | |
System.Int32 | catalogId |
VariationMappingMetaClass(IWarehouseRepository, IWarehouseInventoryService, MetaDataContext, String, Int32)
Declaration
[Obsolete("Use constructor with Mediachase.Commerce.InventoryService.IInventoryService. Will remain at least until October 2017.")]
public VariationMappingMetaClass(IWarehouseRepository warehouseRepository, IWarehouseInventoryService inventoryService, MetaDataContext metaContext, string metaClassName, int catalogId)
Parameters
Type | Name | Description |
---|---|---|
IWarehouseRepository | warehouseRepository | |
IWarehouseInventoryService | inventoryService | |
MetaDataContext | metaContext | |
System.String | metaClassName | |
System.Int32 | catalogId |
VariationMappingMetaClass(IWarehouseRepository, IInventoryService, MetaDataContext, Int32)
Declaration
public VariationMappingMetaClass(IWarehouseRepository warehouseRepository, IInventoryService inventoryService, MetaDataContext metaDataContext, int catalogId)
Parameters
Type | Name | Description |
---|---|---|
IWarehouseRepository | warehouseRepository | |
IInventoryService | inventoryService | |
MetaDataContext | metaDataContext | |
System.Int32 | catalogId |
VariationMappingMetaClass(MetaDataContext, Int32)
Declaration
[Obsolete("Use constructor with Mediachase.Commerce.InventoryService.IInventoryService. Will remain at least until October 2017.")]
public VariationMappingMetaClass(MetaDataContext context, int catalogId)
Parameters
Type | Name | Description |
---|---|---|
MetaDataContext | context | |
System.Int32 | catalogId |
VariationMappingMetaClass(MetaDataContext, Int32, Int32)
Declaration
[Obsolete("Use constructor with Mediachase.Commerce.InventoryService.IInventoryService. Will remain at least until October 2017.")]
public VariationMappingMetaClass(MetaDataContext context, int metaClassId, int catalogId)
Parameters
Type | Name | Description |
---|---|---|
MetaDataContext | context | |
System.Int32 | metaClassId | |
System.Int32 | catalogId |
VariationMappingMetaClass(MetaDataContext, String, Int32)
Declaration
[Obsolete("Use constructor with Mediachase.Commerce.InventoryService.IInventoryService. Will remain at least until October 2017.")]
public VariationMappingMetaClass(MetaDataContext context, string metaClassName, int catalogId)
Parameters
Type | Name | Description |
---|---|---|
MetaDataContext | context | |
System.String | metaClassName | |
System.Int32 | catalogId |
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 | Returns the CatalogEntryId of the updated variation. If the entry is deleted zero is returned. |
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
FillUserColumnInfo(ArrayList)
Declaration
protected override void FillUserColumnInfo(ArrayList array)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.ArrayList | array |
Overrides
Validate(Rule, DataTable)
Declaration
public override void Validate(Rule Mapping, DataTable RawData)
Parameters
Type | Name | Description |
---|---|---|
Rule | Mapping | |
System.Data.DataTable | RawData |