Reputation: 193
I want to update/insert two identical dbs on different servers. But after I've created two .dbml files I've got a lot of compilation errors such as:
Error 28 A partial method may not have multiple defining declarations
Upvotes: 0
Views: 93
Reputation: 19305
You don't need two different .dbml files. What you need to do is create two different database contexts using the same dbml, but using different connection strings. Also, you should consider transaction options, but that is another question.
Upvotes: 3