|
BeganTransaction(DbConnection, BeginTransactionInterceptionContext)
|
BeginTransaction(IsolationLevel)が呼び出された後に呼び出されます。
このメソッドの既定の実装では、Context (存在する場合) に設定DbContextフィルター処理し、イベントをログに記録します。
|
|
BeginningTransaction(DbConnection, BeginTransactionInterceptionContext)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
Closed(DbConnection, DbConnectionInterceptionContext)
|
Close()が呼び出された後に呼び出されます。
このメソッドの既定の実装では、Context (存在する場合) に設定DbContextフィルター処理し、イベントをログに記録します。
|
|
Closing(DbConnection, DbConnectionInterceptionContext)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
Committed(DbTransaction, DbTransactionInterceptionContext)
|
このメソッドは、 Commit() が呼び出された後に呼び出されます。
このメソッドの既定の実装では、Context (存在する場合) に設定DbContextフィルター処理し、イベントをログに記録します。
|
|
Committing(DbTransaction, DbTransactionInterceptionContext)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
ConnectionGetting(DbTransaction, DbTransactionInterceptionContext<DbConnection>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
ConnectionGot(DbTransaction, DbTransactionInterceptionContext<DbConnection>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
ConnectionStringGetting(DbConnection, DbConnectionInterceptionContext<String>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
ConnectionStringGot(DbConnection, DbConnectionInterceptionContext<String>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
ConnectionStringSet(DbConnection, DbConnectionPropertyInterceptionContext<String>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
ConnectionStringSetting(DbConnection, DbConnectionPropertyInterceptionContext<String>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
ConnectionTimeoutGetting(DbConnection, DbConnectionInterceptionContext<Int32>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
ConnectionTimeoutGot(DbConnection, DbConnectionInterceptionContext<Int32>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
DatabaseGetting(DbConnection, DbConnectionInterceptionContext<String>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
DatabaseGot(DbConnection, DbConnectionInterceptionContext<String>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
DataSourceGetting(DbConnection, DbConnectionInterceptionContext<String>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
DataSourceGot(DbConnection, DbConnectionInterceptionContext<String>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
Disposed(DbConnection, DbConnectionInterceptionContext)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
Disposed(DbTransaction, DbTransactionInterceptionContext)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
Disposing(DbConnection, DbConnectionInterceptionContext)
|
Dispose()が呼び出される前に呼び出されます。
このメソッドの既定の実装では、Context (存在する場合) に設定DbContextフィルター処理し、イベントをログに記録します。
|
|
Disposing(DbTransaction, DbTransactionInterceptionContext)
|
このメソッドは、 Dispose() が呼び出される前に呼び出されます。
このメソッドの既定の実装では、Context (存在する場合) に設定DbContextフィルター処理し、イベントをログに記録します。
|
|
EnlistedTransaction(DbConnection, EnlistTransactionInterceptionContext)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
EnlistingTransaction(DbConnection, EnlistTransactionInterceptionContext)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
Equals(Object)
|
これは、一部の Action<T> が Log プロパティに設定されている場合に使用される既定のログ フォーマッタです。 別のフォーマッタを使用するには、このクラスから継承し、一部またはすべてのメソッドをオーバーライドして動作を変更するクラスを作成します。
|
|
Executed<TResult>(DbCommand, DbCommandInterceptionContext<TResult>)
|
コマンドの実行が完了するたびに呼び出されます。 このメソッドの既定の実装では、Context (存在する場合) に設定DbContextフィルター処理し、LogResult<TResult>(DbCommand, DbCommandInterceptionContext<TResult>)を呼び出します。 通常、このメソッドは、コンテキスト フィルター処理の動作を変更するためにのみオーバーライドされます。
|
|
Executing<TResult>(DbCommand, DbCommandInterceptionContext<TResult>)
|
コマンドが実行されようとしているときに呼び出されます。 このメソッドの既定の実装では、Context (存在する場合) に設定DbContextフィルター処理し、LogCommand<TResult>(DbCommand, DbCommandInterceptionContext<TResult>)を呼び出します。 通常、このメソッドは、コンテキスト フィルター処理の動作を変更するためにのみオーバーライドされます。
|
|
GetHashCode()
|
これは、一部の Action<T> が Log プロパティに設定されている場合に使用される既定のログ フォーマッタです。 別のフォーマッタを使用するには、このクラスから継承し、一部またはすべてのメソッドをオーバーライドして動作を変更するクラスを作成します。
|
|
GetStopwatch(DbCommandInterceptionContext)
|
実行の時間に使用されるストップウォッチ。 このストップウォッチは、 NonQueryExecuting(DbCommand, DbCommandInterceptionContext<Int32>)、 ScalarExecuting(DbCommand, DbCommandInterceptionContext<Object>)、および ReaderExecuting(DbCommand, DbCommandInterceptionContext<DbDataReader>) メソッドの終了時に開始され、 NonQueryExecuted(DbCommand, DbCommandInterceptionContext<Int32>)、 ScalarExecuted(DbCommand, DbCommandInterceptionContext<Object>)、および ReaderExecuted(DbCommand, DbCommandInterceptionContext<DbDataReader>) メソッドの先頭で停止されます。 これらのメソッドがオーバーライドされ、ストップウォッチが使用されている場合、オーバーライドは基本メソッドを呼び出すか、ストップウォッチ自体を開始/停止する必要があります。
|
|
GetType()
|
これは、一部の Action<T> が Log プロパティに設定されている場合に使用される既定のログ フォーマッタです。 別のフォーマッタを使用するには、このクラスから継承し、一部またはすべてのメソッドをオーバーライドして動作を変更するクラスを作成します。
|
|
IsolationLevelGetting(DbTransaction, DbTransactionInterceptionContext<IsolationLevel>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
IsolationLevelGot(DbTransaction, DbTransactionInterceptionContext<IsolationLevel>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
LogCommand<TResult>(DbCommand, DbCommandInterceptionContext<TResult>)
|
実行されようとしているコマンドをログに記録するために呼び出されます。 コマンドを System.Data.Entity.Infrastructure.Interception.DatabaseLogFormatter.WriteActionに記録する方法を変更するには、このメソッドをオーバーライドします。
|
|
LogParameter<TResult>(DbCommand, DbCommandInterceptionContext<TResult>, DbParameter)
|
各パラメーターをログに記録するために LogCommand<TResult>(DbCommand, DbCommandInterceptionContext<TResult>) によって呼び出されます。 このメソッドは、パラメーターをログに記録する LogCommand<TResult>(DbCommand, DbCommandInterceptionContext<TResult>) のオーバーライドされた実装から呼び出すことができます。また、パラメーターを System.Data.Entity.Infrastructure.Interception.DatabaseLogFormatter.WriteActionに記録する方法を変更するためにオーバーライドすることもできます。
|
|
LogResult<TResult>(DbCommand, DbCommandInterceptionContext<TResult>)
|
コマンドの実行結果をログに記録するために呼び出されます。 結果を System.Data.Entity.Infrastructure.Interception.DatabaseLogFormatter.WriteActionに記録する方法を変更するには、このメソッドをオーバーライドします。
|
|
NonQueryExecuted(DbCommand, DbCommandInterceptionContext<Int32>)
|
このメソッドは、 ExecuteNonQuery() の呼び出しの後、またはその非同期の対応するメソッドの 1 つが行われた後に呼び出されます。
既定の実装では、 GetStopwatch(DbCommandInterceptionContext) から返されたストップウォッチを停止し、 Executed<TResult>(DbCommand, DbCommandInterceptionContext<TResult>)を呼び出します。
|
|
NonQueryExecuting(DbCommand, DbCommandInterceptionContext<Int32>)
|
このメソッドは、 ExecuteNonQuery() の呼び出しの前に呼び出されるか、非同期の対応するメソッドの 1 つが実行される前に呼び出されます。
既定の実装は Executing<TResult>(DbCommand, DbCommandInterceptionContext<TResult>) を呼び出し、 GetStopwatch(DbCommandInterceptionContext)から返されたストップウォッチを開始します。
|
|
Opened(DbConnection, DbConnectionInterceptionContext)
|
Open()またはその非同期の対応する呼び出し後に呼び出されます。
このメソッドの既定の実装では、Context (存在する場合) に設定DbContextフィルター処理し、イベントをログに記録します。
|
|
Opening(DbConnection, DbConnectionInterceptionContext)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
ReaderExecuted(DbCommand, DbCommandInterceptionContext<DbDataReader>)
|
このメソッドは、 ExecuteReader(CommandBehavior) の呼び出しの後、またはその非同期の対応するメソッドの 1 つが行われた後に呼び出されます。
既定の実装では、 GetStopwatch(DbCommandInterceptionContext) から返されたストップウォッチを停止し、 Executed<TResult>(DbCommand, DbCommandInterceptionContext<TResult>)を呼び出します。
|
|
ReaderExecuting(DbCommand, DbCommandInterceptionContext<DbDataReader>)
|
このメソッドは、 ExecuteReader(CommandBehavior) の呼び出しの前に呼び出されるか、非同期の対応するメソッドの 1 つが実行される前に呼び出されます。
既定の実装は Executing<TResult>(DbCommand, DbCommandInterceptionContext<TResult>) を呼び出し、 GetStopwatch(DbCommandInterceptionContext)から返されたストップウォッチを開始します。
|
|
RolledBack(DbTransaction, DbTransactionInterceptionContext)
|
このメソッドは、 Rollback() が呼び出された後に呼び出されます。
このメソッドの既定の実装では、Context (存在する場合) に設定DbContextフィルター処理し、イベントをログに記録します。
|
|
RollingBack(DbTransaction, DbTransactionInterceptionContext)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
ScalarExecuted(DbCommand, DbCommandInterceptionContext<Object>)
|
このメソッドは、 ExecuteScalar() の呼び出しの後、またはその非同期の対応するメソッドの 1 つが行われた後に呼び出されます。
既定の実装では、 GetStopwatch(DbCommandInterceptionContext) から返されたストップウォッチを停止し、 Executed<TResult>(DbCommand, DbCommandInterceptionContext<TResult>)を呼び出します。
|
|
ScalarExecuting(DbCommand, DbCommandInterceptionContext<Object>)
|
このメソッドは、 ExecuteScalar() の呼び出しの前に呼び出されるか、非同期の対応するメソッドの 1 つが実行される前に呼び出されます。
既定の実装は Executing<TResult>(DbCommand, DbCommandInterceptionContext<TResult>) を呼び出し、 GetStopwatch(DbCommandInterceptionContext)から返されたストップウォッチを開始します。
|
|
ServerVersionGetting(DbConnection, DbConnectionInterceptionContext<String>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
ServerVersionGot(DbConnection, DbConnectionInterceptionContext<String>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
StateGetting(DbConnection, DbConnectionInterceptionContext<ConnectionState>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
StateGot(DbConnection, DbConnectionInterceptionContext<ConnectionState>)
|
オーバーライドされない限り、ログに書き込まれません。
|
|
ToString()
|
これは、一部の Action<T> が Log プロパティに設定されている場合に使用される既定のログ フォーマッタです。 別のフォーマッタを使用するには、このクラスから継承し、一部またはすべてのメソッドをオーバーライドして動作を変更するクラスを作成します。
|
|
Write(String)
|
指定された文字列を基になる書き込みデリゲートに書き込みます。
|