Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
トランザクションオブジェクトを返します。
Public Shadows Function BeginTransaction( ByVal isolationLevel As IsolationLevel ) As SATransaction
public new SATransaction BeginTransaction(IsolationLevel isolationLevel)
isolationLevel SAIsolationLevel 列挙のメンバー。デフォルト値は ReadCommitted です。
新しいトランザクションを表す SATransaction オブジェクト。
トランザクションオブジェクトに関連付けられているコマンドは、単一のトランザクションとして実行されます。トランザクションは、Commit メソッドまたは Rollback メソッドへの呼び出しで終了します。
コマンドをトランザクションオブジェクトに関連付けるには、SACommand.Transaction プロパティを使用します。
SATransaction tx = conn.BeginTransaction( SAIsolationLevel.ReadUncommitted );