Managing transactions using ADO.Net Entity framework - Update multiple databases

Posted by sharad11978 on Stack Overflow See other posts from Stack Overflow or by sharad11978
Published on 2010-06-02T09:15:28Z Indexed on 2010/06/02 10:03 UTC
Read the original article Hit count: 358

Filed under:

Hi,

I need to update multiple databases in one transaction using entity framework. Means if we need to insert records in two tables of two different databases and insertion succeeds for first database but fails for other database then insertion in first database should also get rolled back.

Please let me know if we can do this using entity framework.

Thanks

Sharad Rastogi

© Stack Overflow or respective owner

Related posts about entity-framework