iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

SqlMapper.BeginTransaction Method (String, IsolationLevel)

Open a connection and begin a transaction on the specified connection string.

[Visual Basic]
NotOverridable Overloads Public Function BeginTransaction( _
   ByVal String As String, _
   ByVal IsolationLevel As IsolationLevel _
) As ISqlMapSession _
    Implements ISqlMapper.
[C#]
public ISqlMapSession BeginTransaction(
   String connectionString,
   IsolationLevel isolationLevel
);

Parameters

connectionString
The connection string
isolationLevel
The transaction isolation level for this connection.

Implements

ISqlMapper.

See Also

SqlMapper Class | IBatisNet.DataMapper Namespace | SqlMapper.BeginTransaction Overload List