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
DuplicateRowsHandler(ILogger, MappingCollection)
public DuplicateRowsHandler(ILogger logger, MappingCollection mappings)
Parameters
logger
ILoggermappings
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
stringThe table name
Returns
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
MappingdataRow
DataRowrow
Dictionary<string, object>