dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlConnectionStringBuilder Class / TransactionScopeLocal Property

In This Topic
    TransactionScopeLocal Property
    In This Topic
    Enables support for non-distributed transactions in the TransactionScope implementation.
    Syntax
    'Declaration
     
    Public Property TransactionScopeLocal As Boolean
    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

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also