How do I programatically set the keys of a table in Data Com
ben_leah
Posts: 12 Bronze 2
How do I programatically set the keys of a table in Data Compare if the tables do not have any keys on them?
Comments
There is an example of this in the Toolkit Example files (tablemappingexample.cs)
Then you'll want to set the 'include' property to true on the FieldMapping objects for the Fields that you want to compare and false for the ones you don't want to compare. Each TableMapping object in tableMappings should have a FieldMappings collection.