TransactionHandler クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
トランザクション操作を処理するインターセプターの基本クラス。 派生クラスは、 または SetTransactionHandler(String, Func<TransactionHandler>, String)を使用してSetDefaultTransactionHandler(Func<TransactionHandler>)登録できます。
public abstract class TransactionHandler : IDisposable, System.Data.Entity.Infrastructure.Interception.IDbConnectionInterceptor, System.Data.Entity.Infrastructure.Interception.IDbTransactionInterceptor
type TransactionHandler = class
interface IDbTransactionInterceptor
interface IDbConnectionInterceptor
interface IDbInterceptor
interface IDisposable
Public MustInherit Class TransactionHandler
Implements IDbConnectionInterceptor, IDbTransactionInterceptor, IDisposable
- 継承
-
TransactionHandler
- 派生
- 実装
コンストラクター
| TransactionHandler() |
TransactionHandler クラスの新しいインスタンスを初期化します。 |
プロパティ
| Connection |
接続を取得します。 |
| DbContext |
コンテキストを取得します。 |
| IsDisposed |
このトランザクション ハンドラーが破棄されるかどうかを示す値を取得または設定します。 |
| ObjectContext |
コンテキストを取得します。 |