IDbCommandInterceptor.DataReaderDisposing 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
실행 DbDataReader 이 삭제될 때 호출됩니다.
public virtual Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult DataReaderDisposing(System.Data.Common.DbCommand command, Microsoft.EntityFrameworkCore.Diagnostics.DataReaderDisposingEventData eventData, Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult result);
public Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult DataReaderDisposing(System.Data.Common.DbCommand command, Microsoft.EntityFrameworkCore.Diagnostics.DataReaderDisposingEventData eventData, Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult result);
abstract member DataReaderDisposing : System.Data.Common.DbCommand * Microsoft.EntityFrameworkCore.Diagnostics.DataReaderDisposingEventData * Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult -> Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult
override this.DataReaderDisposing : System.Data.Common.DbCommand * Microsoft.EntityFrameworkCore.Diagnostics.DataReaderDisposingEventData * Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult -> Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult
abstract member DataReaderDisposing : System.Data.Common.DbCommand * Microsoft.EntityFrameworkCore.Diagnostics.DataReaderDisposingEventData * Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult -> Microsoft.EntityFrameworkCore.Diagnostics.InterceptionResult
Public Overridable Function DataReaderDisposing (command As DbCommand, eventData As DataReaderDisposingEventData, result As InterceptionResult) As InterceptionResult
Public Function DataReaderDisposing (command As DbCommand, eventData As DataReaderDisposingEventData, result As InterceptionResult) As InterceptionResult
매개 변수
- command
- DbCommand
명령입니다.
- eventData
- DataReaderDisposingEventData
명령 및 판독기에 대한 컨텍스트 정보입니다.
- result
- InterceptionResult
있는 경우 현재 결과를 나타냅니다.
이 값은 IsSuppressed 이전의 일부 인터셉터에서 호출Suppress()하여 실행을 억제한 경우로 설정 true 됩니다.
이 값은 일반적으로이 메서드의 구현에 대 한 반환 값으로 사용 합니다.
반품
이 false경우 IsSuppressed EF는 정상적으로 계속됩니다.
이 true경우 IsSuppressed EF는 수행하려고 한 작업을 표시하지 않습니다.
작업을 억제하려고 하지 않는 모든 인터셉터에 대해 이 메서드의 구현은 전달된 값을 반환 result 하는 것입니다.