Condividi tramite


DatabaseLogFormatter.StateGot Metodo

Definizione

Non scrive nel log a meno che non venga eseguito l'override.

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))

Parametri

connection
DbConnection

Connessione.

interceptionContext
DbConnectionInterceptionContext<ConnectionState>

Informazioni contestuali associate alla chiamata.

Implementazioni

Si applica a