Partilhar via


IRelationalConnectionDiagnosticsLogger.ConnectionCreated Método

Definição

Logs do ConnectionCreated evento.

public System.Data.Common.DbConnection ConnectionCreated (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, DateTimeOffset startTime, TimeSpan duration);
abstract member ConnectionCreated : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * DateTimeOffset * TimeSpan -> System.Data.Common.DbConnection
Public Function ConnectionCreated (connection As IRelationalConnection, startTime As DateTimeOffset, duration As TimeSpan) As DbConnection

Parâmetros

connection
IRelationalConnection

A conexão.

startTime
DateTimeOffset

A hora em que a operação foi iniciada.

duration
TimeSpan

O tempo necessário para criar a conexão.

Retornos

Aplica-se a