Show / Hide Table of Contents

Method BeginTransaction

| Improve this Doc View Source

BeginTransaction(String)

Begins a transaction.

Declaration
public ITransaction BeginTransaction(string name = null)
Parameters
Type Name Description
System.String name

The name of the transaction.

Returns
Type Description
ITransaction

The transaction object.

| Improve this Doc View Source

BeginTransaction(Nullable<IsolationLevel>, String)

Begins a transaction at specified isolation level.

Declaration
public ITransaction BeginTransaction(IsolationLevel? isolation, string name = null)
Parameters
Type Name Description
System.Nullable<System.Data.IsolationLevel> isolation

The isolation level.

System.String name

The name of the transaction.

Returns
Type Description
ITransaction

The transaction object.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest