public ColumnMapping(ColumnMapping cm) { this.SourceColumn = cm.SourceColumn; this.TargetDatabaseType = cm.TargetDatabaseType; this.TargetColumn = cm.TargetColumn; this.TransformationCode = cm.TransformationCode; this.CustomInsertValue = cm.CustomInsertValue; this.CustomUpdateValue = cm.CustomUpdateValue; this.CustomDeleteValue = cm.CustomDeleteValue; this.ColumnCompareMethod = cm.ColumnCompareMethod; }
public ColumnMapping(string sourceColumn, ETargetDatabaseType databaseType, string targetColumn, ETransformationCode transformationType, string insertValue, string updateValue, string deleteValue, EColumnCompareMethod columnCompareMethod) { this.SourceColumn = sourceColumn; this.TargetDatabaseType = databaseType; this.TargetColumn = targetColumn; this.TransformationCode = transformationType; this.CustomInsertValue = insertValue; this.CustomUpdateValue = updateValue; this.CustomDeleteValue = deleteValue; this.ColumnCompareMethod = columnCompareMethod; }