IRelationalCommandDiagnosticsLogger.CommandReaderExecuted Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
CommandReaderExecuted(IRelationalConnection, DbCommand, String, DbContext, Guid, Guid, DbDataReader, DateTimeOffset, TimeSpan, CommandSource)
Journaux de l’événement CommandExecuted .
public System.Data.Common.DbDataReader CommandReaderExecuted(Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbCommand command, string logCommandText, Microsoft.EntityFrameworkCore.DbContext? context, Guid commandId, Guid connectionId, System.Data.Common.DbDataReader methodResult, DateTimeOffset startTime, TimeSpan duration, Microsoft.EntityFrameworkCore.Diagnostics.CommandSource commandSource);
abstract member CommandReaderExecuted : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * string * Microsoft.EntityFrameworkCore.DbContext * Guid * Guid * System.Data.Common.DbDataReader * DateTimeOffset * TimeSpan * Microsoft.EntityFrameworkCore.Diagnostics.CommandSource -> System.Data.Common.DbDataReader
Public Function CommandReaderExecuted (connection As IRelationalConnection, command As DbCommand, logCommandText As String, context As DbContext, commandId As Guid, connectionId As Guid, methodResult As DbDataReader, startTime As DateTimeOffset, duration As TimeSpan, commandSource As CommandSource) As DbDataReader
Paramètres
- connection
- IRelationalConnection
Connexion.
- command
- DbCommand
Objet de commande de base de données.
- logCommandText
- String
Texte de commande qui peut être journalisé.
- connectionId
- Guid
ID de corrélation associé à l’utilisation DbConnection .
- methodResult
- DbDataReader
Valeur de retour de l’exécution de la méthode sous-jacente.
- startTime
- DateTimeOffset
Heure à laquelle l’exécution a commencé.
- duration
- TimeSpan
Durée de l’exécution de la commande, sans inclure les résultats consommant.
- commandSource
- CommandSource
Source de la commande.
Retours
Résultat de l’exécution, qui a peut-être été modifié par un intercepteur.
S’applique à
CommandReaderExecuted(IRelationalConnection, DbCommand, DbContext, Guid, Guid, DbDataReader, DateTimeOffset, TimeSpan, CommandSource)
Journaux de l’événement CommandExecuted .
public System.Data.Common.DbDataReader CommandReaderExecuted(Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbCommand command, Microsoft.EntityFrameworkCore.DbContext? context, Guid commandId, Guid connectionId, System.Data.Common.DbDataReader methodResult, DateTimeOffset startTime, TimeSpan duration, Microsoft.EntityFrameworkCore.Diagnostics.CommandSource commandSource);
abstract member CommandReaderExecuted : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * Microsoft.EntityFrameworkCore.DbContext * Guid * Guid * System.Data.Common.DbDataReader * DateTimeOffset * TimeSpan * Microsoft.EntityFrameworkCore.Diagnostics.CommandSource -> System.Data.Common.DbDataReader
Public Function CommandReaderExecuted (connection As IRelationalConnection, command As DbCommand, context As DbContext, commandId As Guid, connectionId As Guid, methodResult As DbDataReader, startTime As DateTimeOffset, duration As TimeSpan, commandSource As CommandSource) As DbDataReader
Paramètres
- connection
- IRelationalConnection
Connexion.
- command
- DbCommand
Objet de commande de base de données.
- connectionId
- Guid
ID de corrélation associé à l’utilisation DbConnection .
- methodResult
- DbDataReader
Valeur de retour de l’exécution de la méthode sous-jacente.
- startTime
- DateTimeOffset
Heure à laquelle l’exécution a commencé.
- duration
- TimeSpan
Durée de l’exécution de la commande, sans inclure les résultats consommant.
- commandSource
- CommandSource
Source de la commande.
Retours
Résultat de l’exécution, qui a peut-être été modifié par un intercepteur.