다음을 통해 공유


IDbCommandInterceptor.ScalarExecuted 메서드

정의

이 메서드는 또는 해당 비동기 대응 항목 중 하나를 호출 ExecuteScalar() 한 후 호출됩니다. Entity Framework에서 사용하는 결과는 를 설정 Result하여 변경할 수 있습니다.

public void ScalarExecuted (System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<object> interceptionContext);
abstract member ScalarExecuted : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<obj> -> unit
Public Sub ScalarExecuted (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of Object))

매개 변수

command
DbCommand

실행 중인 명령입니다.

interceptionContext
DbCommandInterceptionContext<Object>

호출과 관련된 컨텍스트 정보입니다.

설명

비동기 작업의 경우 비동기 작업이 완료되거나 실패할 때까지 이 메서드가 호출되지 않습니다.

적용 대상