Compartir a través de


DatabaseLogFormatter.StateGetting Método

Definición

No escribe en el registro a menos que se invalide.

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

Parámetros

connection
DbConnection

La conexión.

interceptionContext
DbConnectionInterceptionContext<ConnectionState>

Información contextual asociada a la llamada.

Implementaciones

Se aplica a