Dil

IRelationalCommandDiagnosticsLogger.CommandScalarExecuted Yöntem

Tanım

Aşırı Yüklemeler

CommandScalarExecuted(IRelationalConnection, DbCommand, DbContext, Guid, Guid, Object, DateTimeOffset, TimeSpan, CommandSource)

Kaynak:
IRelationalCommandDiagnosticsLogger.cs
Kaynak:
IRelationalCommandDiagnosticsLogger.cs
Kaynak:
IRelationalCommandDiagnosticsLogger.cs
Kaynak:
IRelationalCommandDiagnosticsLogger.cs

Olay için CommandExecuted günlükler.

public object? CommandScalarExecuted(Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbCommand command, Microsoft.EntityFrameworkCore.DbContext? context, Guid commandId, Guid connectionId, object? methodResult, DateTimeOffset startTime, TimeSpan duration, Microsoft.EntityFrameworkCore.Diagnostics.CommandSource commandSource);
abstract member CommandScalarExecuted : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * Microsoft.EntityFrameworkCore.DbContext * Guid * Guid * obj * DateTimeOffset * TimeSpan * Microsoft.EntityFrameworkCore.Diagnostics.CommandSource -> obj
Public Function CommandScalarExecuted (connection As IRelationalConnection, command As DbCommand, context As DbContext, commandId As Guid, connectionId As Guid, methodResult As Object, startTime As DateTimeOffset, duration As TimeSpan, commandSource As CommandSource) As Object

Parametreler

connection
IRelationalConnection

Bağlantı.

command
DbCommand

Veritabanı komut nesnesi.

context
DbContext

Bilinen DbContext değilse null olarak kullanılmakta olan.

commandId
Guid

Verilen DbCommandile ilişkili bağıntı kimliği.

connectionId
Guid

Kullanılan ile ilişkili bağıntı DbConnection kimliği.

methodResult
Object

Temel alınan yöntem yürütmesinden döndürülen değer.

startTime
DateTimeOffset

Yürütmenin başladığı zaman.

duration
TimeSpan

Sonuçların tüketilmesi dahil değil, komut yürütme süresi.

commandSource
CommandSource

Komutun kaynağı.

Döndürülenler

Bir kesme noktası tarafından değiştirilmiş olabilecek yürütmenin sonucu.

Şunlara uygulanır

CommandScalarExecuted(IRelationalConnection, DbCommand, String, DbContext, Guid, Guid, Object, DateTimeOffset, TimeSpan, CommandSource)

Kaynak:
IRelationalCommandDiagnosticsLogger.cs
Kaynak:
IRelationalCommandDiagnosticsLogger.cs

Olay için CommandExecuted günlükler.

public object? CommandScalarExecuted(Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbCommand command, string logCommandText, Microsoft.EntityFrameworkCore.DbContext? context, Guid commandId, Guid connectionId, object? methodResult, DateTimeOffset startTime, TimeSpan duration, Microsoft.EntityFrameworkCore.Diagnostics.CommandSource commandSource);
abstract member CommandScalarExecuted : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * string * Microsoft.EntityFrameworkCore.DbContext * Guid * Guid * obj * DateTimeOffset * TimeSpan * Microsoft.EntityFrameworkCore.Diagnostics.CommandSource -> obj
Public Function CommandScalarExecuted (connection As IRelationalConnection, command As DbCommand, logCommandText As String, context As DbContext, commandId As Guid, connectionId As Guid, methodResult As Object, startTime As DateTimeOffset, duration As TimeSpan, commandSource As CommandSource) As Object

Parametreler

connection
IRelationalConnection

Bağlantı.

command
DbCommand

Veritabanı komut nesnesi.

logCommandText
String

Günlüğe kaydedilebilen komut metni.

context
DbContext

Bilinen DbContext değilse null olarak kullanılmakta olan.

commandId
Guid

Verilen DbCommandile ilişkili bağıntı kimliği.

connectionId
Guid

Kullanılan ile ilişkili bağıntı DbConnection kimliği.

methodResult
Object

Temel alınan yöntem yürütmesinden döndürülen değer.

startTime
DateTimeOffset

Yürütmenin başladığı zaman.

duration
TimeSpan

Sonuçların tüketilmesi dahil değil, komut yürütme süresi.

commandSource
CommandSource

Komutun kaynağı.

Döndürülenler

Bir kesme noktası tarafından değiştirilmiş olabilecek yürütmenin sonucu.

Şunlara uygulanır