IRelationalCommandDiagnosticsLogger.DataReaderDisposing Yöntem

Tanım

Olay için DataReaderDisposing günlükler.

public Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult DataReaderDisposing (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbCommand command, System.Data.Common.DbDataReader dataReader, Guid commandId, int recordsAffected, int readCount, DateTimeOffset startTime, TimeSpan duration);
abstract member DataReaderDisposing : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * System.Data.Common.DbDataReader * Guid * int * int * DateTimeOffset * TimeSpan -> Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult
Public Function DataReaderDisposing (connection As IRelationalConnection, command As DbCommand, dataReader As DbDataReader, commandId As Guid, recordsAffected As Integer, readCount As Integer, startTime As DateTimeOffset, duration As TimeSpan) As InterceptionResult

Parametreler

connection
IRelationalConnection

Bağlantı.

command
DbCommand

Veritabanı komut nesnesi.

dataReader
DbDataReader

Veri okuyucu.

commandId
Guid

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

recordsAffected
Int32

Veritabanında etkilenen kayıt sayısı.

readCount
Int32

Okunan kayıtların sayısı.

startTime
DateTimeOffset

İşlemin başlatıldığı saat.

duration
TimeSpan

İşlemin başlatıldığı zamandan geçen süre.

Döndürülenler

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

Şunlara uygulanır