Exemplo n.º 1
0
        IEnumerable <string> DiffTables(CruiseDatastore left, CruiseDatastore right)
        {
            var leftTables  = left.GetTableNames();
            var rightTables = right.GetTableNames();

            return(leftTables.Except(rightTables));
        }
Exemplo n.º 2
0
        IEnumerable <IEnumerable <string> > DiffTableInfo(CruiseDatastore left, CruiseDatastore right)
        {
            var tables = left.GetTableNames();

            foreach (var t in tables)
            {
                var diff = DiffTableInfo(left, right, t);

                if (diff.Any())
                {
                    yield return(diff);
                }
            }
        }