mercredi 30 décembre 2015

Unit of Work / Repository pattern updating multiple sources at the same time

I have implemented unit of work / repository pattern for SQL Server and MySql. They work great when I have to update either database server.

A new requirement has come in - for one object type, I need to update both SQL Server and MySql at the same time. Ideally, this would be done in a transaction.

Can someone please suggest a way to implement this?

Aucun commentaire:

Enregistrer un commentaire