Пример #1
0
        private TableComparer CreateTable(Table table)
        {
            var comparer = new TableComparer(ConnectionA, ConnectionB, table);

            comparer.ProgressChanged += comparer_ProgressChanged;
            return(comparer);
        }
Пример #2
0
 public TableComparisonResult(TableComparer parent, string schemaName, string tableName, List <RowComparisonResult> rows)
 {
     Changes           = rows.Where(n => n.Result != CompareResult.Equal).ToList();
     TotalComparedRows = rows.Count;
     EqualRowsCount    = rows.Count - Changes.Count;
     SchemaName        = schemaName;
     TableName         = tableName;
     Parent            = parent;
 }