IRelationalCommandDiagnosticsLogger.DataReaderClosingAsync Método

Definição

Logs do DataReaderClosing evento.

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

Parâmetros

connection
IRelationalConnection

A conexão.

command
DbCommand

O objeto de comando do banco de dados.

dataReader
DbDataReader

O leitor de dados.

commandId
Guid

A ID de correlação associada ao determinado DbCommand.

recordsAffected
Int32

O número de registros no banco de dados que foram afetados.

readCount
Int32

O número de registros que foram lidos.

startTime
DateTimeOffset

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

Retornos

O resultado da execução, que pode ter sido modificado por um interceptador.

Aplica-se a