Grouping Tables by class
danjaman
Posts: 12
Now how would I write in to have it do set of tables by selection.
Say public class Users Has five tables, public class Sales has Ten tables
Can you give me some guide or code usage here:
I know it comes after this:
ComparisonSession session = new ComparisonSession();
TableMappings mappings = new TableMappings();
mappings.CreateMappings(ddb1.Tables, ddb2.Tables);
session.CompareDatabases(ddb1, ddb2, mappings);
Say public class Users Has five tables, public class Sales has Ten tables
Can you give me some guide or code usage here:
I know it comes after this:
ComparisonSession session = new ComparisonSession();
TableMappings mappings = new TableMappings();
mappings.CreateMappings(ddb1.Tables, ddb2.Tables);
session.CompareDatabases(ddb1, ddb2, mappings);
Comments
_tableMappings.Join(_databaseOne.Tables[fullyQualified], _databaseTwo.Tables[fullyQualified]);
I agree with alexstyler, your question is not clear.
If you are trying to compare just a subset of tables, the following post into the forum may be of help to you:
http://www.red-gate.com/MessageBoard/vi ... php?t=4636
Many Thanks
Eddie
Eddie Davis
Red Gate Software Ltd
Technical Support
Senior Product Support Engineer
Redgate Software Ltd
Email: support@red-gate.com