IRelationalCommandDiagnosticsLogger.CommandScalarExecuting 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
CommandScalarExecuting(IRelationalConnection, DbCommand, DbContext, Guid, Guid, DateTimeOffset, CommandSource)
이벤트에 대한 로그입니다 CommandExecuting .
public Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult<object> CommandScalarExecuting(Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbCommand command, Microsoft.EntityFrameworkCore.DbContext? context, Guid commandId, Guid connectionId, DateTimeOffset startTime, Microsoft.EntityFrameworkCore.Diagnostics.CommandSource commandSource);
abstract member CommandScalarExecuting : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * Microsoft.EntityFrameworkCore.DbContext * Guid * Guid * DateTimeOffset * Microsoft.EntityFrameworkCore.Diagnostics.CommandSource -> Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult<obj>
Public Function CommandScalarExecuting (connection As IRelationalConnection, command As DbCommand, context As DbContext, commandId As Guid, connectionId As Guid, startTime As DateTimeOffset, commandSource As CommandSource) As InterceptionResult(Of Object)
매개 변수
- connection
- IRelationalConnection
연결입니다.
- command
- DbCommand
데이터베이스 명령 개체입니다.
- connectionId
- Guid
사용 중인 것과 연결된 DbConnection 상관 관계 ID입니다.
- startTime
- DateTimeOffset
실행이 시작된 시간입니다.
- commandSource
- CommandSource
명령의 원본입니다.
반품
가로채는 결과입니다.
적용 대상
CommandScalarExecuting(IRelationalConnection, DbCommand, String, DbContext, Guid, Guid, DateTimeOffset, CommandSource)
이벤트에 대한 로그입니다 CommandExecuting .
public Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult<object> CommandScalarExecuting(Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection, System.Data.Common.DbCommand command, string logCommandText, Microsoft.EntityFrameworkCore.DbContext? context, Guid commandId, Guid connectionId, DateTimeOffset startTime, Microsoft.EntityFrameworkCore.Diagnostics.CommandSource commandSource);
abstract member CommandScalarExecuting : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection * System.Data.Common.DbCommand * string * Microsoft.EntityFrameworkCore.DbContext * Guid * Guid * DateTimeOffset * Microsoft.EntityFrameworkCore.Diagnostics.CommandSource -> Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult<obj>
Public Function CommandScalarExecuting (connection As IRelationalConnection, command As DbCommand, logCommandText As String, context As DbContext, commandId As Guid, connectionId As Guid, startTime As DateTimeOffset, commandSource As CommandSource) As InterceptionResult(Of Object)
매개 변수
- connection
- IRelationalConnection
연결입니다.
- command
- DbCommand
데이터베이스 명령 개체입니다.
- logCommandText
- String
기록할 수 있는 명령 텍스트입니다.
- connectionId
- Guid
사용 중인 것과 연결된 DbConnection 상관 관계 ID입니다.
- startTime
- DateTimeOffset
실행이 시작된 시간입니다.
- commandSource
- CommandSource
명령의 원본입니다.
반품
가로채는 결과입니다.