Database.CompileAsyncQuery<TResult>(QueryModel) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
쿼리 모델을 데이터베이스에서 쿼리 결과를 비동기적으로 가져오기 위해 실행할 수 있는 함수로 변환합니다.
public virtual Func<Microsoft.EntityFrameworkCore.Query.QueryContext,System.Collections.Generic.IAsyncEnumerable<TResult>> CompileAsyncQuery<TResult>(Remotion.Linq.QueryModel queryModel);
abstract member CompileAsyncQuery : Remotion.Linq.QueryModel -> Func<Microsoft.EntityFrameworkCore.Query.QueryContext, System.Collections.Generic.IAsyncEnumerable<'Result>>
override this.CompileAsyncQuery : Remotion.Linq.QueryModel -> Func<Microsoft.EntityFrameworkCore.Query.QueryContext, System.Collections.Generic.IAsyncEnumerable<'Result>>
Public Overridable Function CompileAsyncQuery(Of TResult) (queryModel As QueryModel) As Func(Of QueryContext, IAsyncEnumerable(Of TResult))
형식 매개 변수
- TResult
쿼리에서 반환된 결과의 형식입니다.
매개 변수
- queryModel
- Remotion.Linq.QueryModel
실행할 쿼리를 나타내는 개체 모델입니다.
반환
쿼리를 비동기적으로 실행하는 함수입니다.