locked
MDS API - control database connection RRS feed

  • Question

  • Hi All,

    I am working od MDS proof of concept.

    I am going to create Service Facade over stanard MDS API. I am using MDS assemblies directly referenced from my project (not using Web Services).

    Is it possible to control DB Connection over several MDS API calls. Strictly speaking, I want to controll DB transacation over several MDS API calls.

    How to get (is it possible) to get a reference to DB Connection used by MDS Service.

    Regards,

    Wojciech Winnicki

    Wednesday, August 22, 2012 11:22 AM

Answers

  • This is my own reply, buy maybe someone will find it usefull.

    We can use .NET TransactionScope class to control transactions over several MDS API calls.

    Of course it will only work with directly referenced MDS assemblies (not through Web Services).

    Wojtek

    Wednesday, August 22, 2012 11:50 AM