次の方法で共有


RelationalLoggerExtensions.ConnectionOpened メソッド

定義

イベントの ConnectionOpened ログ。

public static void ConnectionOpened (this Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Connection> diagnostics, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, DateTimeOffset startTime, TimeSpan duration);
static member ConnectionOpened : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Connection> * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * DateTimeOffset * TimeSpan -> unit
<Extension()>
Public Sub ConnectionOpened (diagnostics As IDiagnosticsLogger(Of DbLoggerCategory.Database.Connection), connection As IRelationalConnection, startTime As DateTimeOffset, duration As TimeSpan)

パラメーター

diagnostics
IDiagnosticsLogger<DbLoggerCategory.Database.Connection>

使用する診断 ロガー。

connection
IRelationalConnection

接続。

startTime
DateTimeOffset

操作が開始された時刻。

duration
TimeSpan

接続が開かれるまでの時間。

適用対象