다음을 통해 공유


DatabaseLogFormatter.LogResult<TResult> 메서드

정의

명령을 실행한 결과를 기록하기 위해 호출됩니다. 이 메서드를 재정의하여 결과가 에 기록되는 방식을 변경합니다 System.Data.Entity.Infrastructure.Interception.DatabaseLogFormatter.WriteAction.

public virtual void LogResult<TResult> (System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<TResult> interceptionContext);
abstract member LogResult : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<'Result> -> unit
override this.LogResult : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<'Result> -> unit
Public Overridable Sub LogResult(Of TResult) (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of TResult))

형식 매개 변수

TResult

작업 결과의 형식입니다.

매개 변수

command
DbCommand

기록되는 명령입니다.

interceptionContext
DbCommandInterceptionContext<TResult>

명령과 관련된 컨텍스트 정보입니다.

적용 대상