Page 1 of 1

Support for distributed transactions

Posted: Wed 03 Sep 2008 08:10
by ChristianStaffe
Hi,

Does the PostgreSQLDirect.NET provider support distributed transactions, automatically enlisting into existing transactions and thus taking part into distributed transactions with other providers (TransactionScope).

For instance:

using (TransactionScope scope = new TransactionScope())
{
// open a PostgreSQL Direct.NET connection here
// update some db data here
// if something fails here, exception is thrown, update db is rollbacked
scope.complete();
// transaction is committed only now !
}

Posted: Fri 05 Sep 2008 12:11
by Shalex
PostgreSQLDirect .NET doesn't support distributed transactions now. This functionality will be implemented in the future, but no timeframe can be provided.