dotConnect for PostgreSQL Documentation
TransactionScopeLocal Property
See Also  support@devart.com
Devart.Data.PostgreSql Namespace > PgSqlConnectionStringBuilder Class : TransactionScopeLocal Property

Enables support for non-distributed transactions in the TransactionScope implementation.

Syntax

Visual Basic (Declaration) 
Public Property TransactionScopeLocal As Boolean
C# 
public bool TransactionScopeLocal {get; set;}

Property Value

true, if one-phase commit is used within TransactionScope; false otherwise.

Remarks

This feature means that if there are several connections with the same connection string (which includes "Transaction Scope Local=true;") within a scope of TransactionScope, our provider will use only one connection internally. The default value is false. This property is not available in Mobile Edition.

Requirements

Platforms:Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8, Windows 10, Windows Server 2012 family.

See Also