title: Entity Framework Self Tracking Entities - Synchronize between 2 databases
body: <p>I am using Self Tracking Entities with the Entity Framework 4. I have 2 databases, with the exact same schema. However, tables in one database will be added to/edited etc (and I mean data will be added/edited, not the actual table definitions) and at certain points of the day I will need to synchronize all the changes between this database and the other database.</p>
  
  <p>I can create a separate context for both of them. But if I read a large graph from one database, how can I update the other database with the graph? Is there an easy way?</p>
  
  <p>My database model is large and complex and fully relational. So it would be a big job to go through every single entity and do a read from the other database to see if it exists or not, update/insert it if need be, and then carry this on through the full object graph!</p>
  
  <p>Any ideas?</p>