DatabaseLogFormatter.NonQueryExecuting 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이 메서드는 또는 해당 비동기 대응 항목 중 하나를 호출하기 ExecuteNonQuery() 전에 호출됩니다. 기본 구현은 에서 GetStopwatch(DbCommandInterceptionContext)반환된 스톱워치를 호출 Executing<TResult>(DbCommand, DbCommandInterceptionContext<TResult>) 하고 시작합니다.
public virtual void NonQueryExecuting (System.Data.Common.DbCommand command, System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<int> interceptionContext);
abstract member NonQueryExecuting : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<int> -> unit
override this.NonQueryExecuting : System.Data.Common.DbCommand * System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<int> -> unit
Public Overridable Sub NonQueryExecuting (command As DbCommand, interceptionContext As DbCommandInterceptionContext(Of Integer))
매개 변수
- command
- DbCommand
실행 중인 명령입니다.
- interceptionContext
- DbCommandInterceptionContext<Int32>
호출과 관련된 컨텍스트 정보입니다.
구현
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Entity Framework