次の方法で共有


DatabaseLogFormatter.StateGot メソッド

定義

オーバーライドされない限り、ログに書き込まれません。

public virtual void StateGot (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<System.Data.ConnectionState> interceptionContext);
abstract member StateGot : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<System.Data.ConnectionState> -> unit
override this.StateGot : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext<System.Data.ConnectionState> -> unit
Public Overridable Sub StateGot (connection As DbConnection, interceptionContext As DbConnectionInterceptionContext(Of ConnectionState))

パラメーター

connection
DbConnection

接続。

interceptionContext
DbConnectionInterceptionContext<ConnectionState>

呼び出しに関連付けられているコンテキスト情報。

実装

適用対象