Table of Contents

Class SchemaComparerResult

Namespace
Dynamicweb.DataIntegration.Integration
Assembly
Dynamicweb.DataIntegration.dll

Stores information about error in Schemas/Mapping

public class SchemaComparerResult
Inheritance
SchemaComparerResult
Inherited Members

Constructors

SchemaComparerResult(ProviderType, SchemaCompareErrorType, string)

public SchemaComparerResult(ProviderType providerType, SchemaCompareErrorType errorType, string tableName)

Parameters

providerType ProviderType
errorType SchemaCompareErrorType
tableName string

SchemaComparerResult(ProviderType, SchemaCompareErrorType, string, IEnumerable<string>)

public SchemaComparerResult(ProviderType providerType, SchemaCompareErrorType errorType, string tableName, IEnumerable<string> columns = null)

Parameters

providerType ProviderType
errorType SchemaCompareErrorType
tableName string
columns IEnumerable<string>

Properties

ErrorType

Error type (NewTables, NewColumns, RemovedTables, RemovedColumns, ChangedColumnType, MissingTablesInMapping, MissingColumnsInMapping, InvalidColumnType, NotUniqueMapping, NoOnePrimaryKey)

public SchemaCompareErrorType ErrorType { get; }

Property Value

SchemaCompareErrorType

ProviderType

Provider type (Source, Destination)

public ProviderType ProviderType { get; }

Property Value

ProviderType

TableNameColumnsCollection

public Dictionary<string, List<string>> TableNameColumnsCollection { get; set; }

Property Value

Dictionary<string, List<string>>

Methods

AppendErrorItem(string, IEnumerable<string>)

Appends error item data to result

public void AppendErrorItem(string tableName, IEnumerable<string> columns = null)

Parameters

tableName string
columns IEnumerable<string>
To top