Sync two database with EF 4.0 RRS feed

  • Question

  • Dear All,

    I have a SQL Compact 3.5 on my client side.

    I have a SQL 2005 on the server side that expose the DB using WCF Data Services.

    Now, when I need to update the remote DB, I am inserting the new rows from local DB manually, creating a new EF instance from remote server and add manually each new row.

    As the schema of the tables is 100% the same, I would like to know if there is a fast way to cast the local entity on the remote entity as this are same schema, and only the typed name change.....


    Thursday, April 7, 2011 9:50 AM


All replies