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
ProviderTypeerrorType
SchemaCompareErrorTypetableName
string
SchemaComparerResult(ProviderType, SchemaCompareErrorType, string, IEnumerable<string>)
public SchemaComparerResult(ProviderType providerType, SchemaCompareErrorType errorType, string tableName, IEnumerable<string> columns = null)
Parameters
providerType
ProviderTypeerrorType
SchemaCompareErrorTypetableName
stringcolumns
IEnumerable<string>
Properties
ErrorType
Error type (NewTables, NewColumns, RemovedTables, RemovedColumns, ChangedColumnType, MissingTablesInMapping, MissingColumnsInMapping, InvalidColumnType, NotUniqueMapping, NoOnePrimaryKey)
public SchemaCompareErrorType ErrorType { get; }
Property Value
ProviderType
Provider type (Source, Destination)
public ProviderType ProviderType { get; }
Property Value
TableNameColumnsCollection
public Dictionary<string, List<string>> TableNameColumnsCollection { get; set; }
Property Value
Methods
AppendErrorItem(string, IEnumerable<string>)
Appends error item data to result
public void AppendErrorItem(string tableName, IEnumerable<string> columns = null)
Parameters
tableName
stringcolumns
IEnumerable<string>