IRelationalCommandDiagnosticsLogger.CommandScalarExecuted Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
CommandScalarExecuted(IRelationalConnection, DbCommand, DbContext, Guid, Guid, Object, DateTimeOffset, TimeSpan, CommandSource)
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.
- 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)
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.
- 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.