Table of Contents

Class DuplicateRowsHandler

Namespace
Dynamicweb.DataIntegration.ProviderHelpers
Assembly
Dynamicweb.DataIntegration.dll
public class DuplicateRowsHandler : IDisposable
Inheritance
DuplicateRowsHandler
Implements
Inherited Members

Constructors

DuplicateRowsHandler(ILogger, Mapping)

public DuplicateRowsHandler(ILogger logger, Mapping mapping)

Parameters

logger ILogger
mapping Mapping

DuplicateRowsHandler(ILogger, MappingCollection)

public DuplicateRowsHandler(ILogger logger, MappingCollection mappings)

Parameters

logger ILogger
mappings MappingCollection

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

GetTableKeyColumns(string)

Gets the specified table primary key columns list

public List<Column> GetTableKeyColumns(string tableName)

Parameters

tableName string

The table name

Returns

List<Column>

Table columns if found, otherwise empty list

IsRowDuplicate(IEnumerable<ColumnMapping>, Mapping, DataRow, Dictionary<string, object>)

public bool IsRowDuplicate(IEnumerable<ColumnMapping> columnMappings, Mapping mapping, DataRow dataRow, Dictionary<string, object> row)

Parameters

columnMappings IEnumerable<ColumnMapping>
mapping Mapping
dataRow DataRow
row Dictionary<string, object>

Returns

bool
To top