다음을 통해 공유


DbCommandInterceptor.NonQueryExecuted 메서드

정의

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

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

매개 변수

command
DbCommand

실행 중인 명령입니다.

interceptionContext
DbCommandInterceptionContext<Int32>

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

구현

적용 대상