Class EntryMappingMetaClass

Summary description for SkuMappingMetaClass.

Inheritance
System.Object
EntryMappingMetaClass
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.0
Syntax
public class EntryMappingMetaClass : MappingMetaClass

Constructors

EntryMappingMetaClass(MetaDataContext, Int32)

Initializes a new instance of the EntryMappingMetaClass class.

Declaration
public EntryMappingMetaClass(MetaDataContext context, int CatalogId)
Parameters
Type Name Description
MetaDataContext context

The context.

System.Int32 CatalogId

The catalog id.

EntryMappingMetaClass(MetaDataContext, Int32, Int32)

Initializes a new instance of the EntryMappingMetaClass class.

Declaration
public EntryMappingMetaClass(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.

EntryMappingMetaClass(MetaDataContext, String, Int32)

Initializes a new instance of the EntryMappingMetaClass class.

Declaration
public EntryMappingMetaClass(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

AddSystemFieldsMapping(Rule)

Declaration
[Obsolete("This method is no longer used. It will remain at least until August 2017.")]
protected override void AddSystemFieldsMapping(Rule mapping)
Parameters
Type Name Description
Rule mapping
Overrides

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 entry updated event.

Declaration
protected override void RaiseObjectUpdatedEvent(int objectId)
Parameters
Type Name Description
System.Int32 objectId

The catalog entry 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
Overrides