CreateMappings with SQLCompare 6.0.0.928
rickybibi
Posts: 25 Bronze 2
Why this code doesn't working anymore with the SQLCompare 6.0.0.928 ?
Y receive this error message .
System.MissingMethodException was unhandled
Message="Method not found: 'Void RedGate.SQLCompare.Engine.Mappings.CreateMappings(RedGate.SQLCompare.Engine.SerializableCollection, RedGate.SQLCompare.Engine.SerializableCollection, System.Object, Boolean)'."
Source="RedGate.SQLDataCompare.Engine"
StackTrace:
at RedGate.SQLDataCompare.Engine.TableMappings.CreateMappings(Tables in1, Tables in2)
Please HELP
databaseData.RegisterForDataCompare(new ConnectionProperties(servername, databasename), Options.Default); databaseData2.RegisterForDataCompare(new ConnectionProperties(servername, databasename2), Options.Default); using (ComparisonSession session = new ComparisonSession()) { TableMappings tableMappings = new TableMappings(); tableMappings.Options = dataOptions; // // Create the mappings. (Nb. only want tables. should not package data in views // tableMappings.CreateMappings(databaseData.Tables, databaseData2.Tables);
Y receive this error message .
System.MissingMethodException was unhandled
Message="Method not found: 'Void RedGate.SQLCompare.Engine.Mappings.CreateMappings(RedGate.SQLCompare.Engine.SerializableCollection, RedGate.SQLCompare.Engine.SerializableCollection, System.Object, Boolean)'."
Source="RedGate.SQLDataCompare.Engine"
StackTrace:
at RedGate.SQLDataCompare.Engine.TableMappings.CreateMappings(Tables in1, Tables in2)
Please HELP
Comments
Redgate Software
I cannot make a Packages(Schemas + Data) with SQlPackage 5 because i'm using SQLCompare 6 !!!
Redgate Software