IRelationalConnectionDiagnosticsLogger.ConnectionCreating Metodo

Definizione

Registra l'evento ConnectionCreating .

public Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult<System.Data.Common.DbConnection> ConnectionCreating (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, DateTimeOffset startTime);
abstract member ConnectionCreating : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * DateTimeOffset -> Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult<System.Data.Common.DbConnection>
Public Function ConnectionCreating (connection As IRelationalConnection, startTime As DateTimeOffset) As InterceptionResult(Of DbConnection)

Parametri

connection
IRelationalConnection

Connessione.

startTime
DateTimeOffset

Ora di avvio dell'operazione.

Restituisce

Risultato dell'esecuzione, che può essere stato modificato da un intercettore.

Si applica a