Database.CompileQueryExpression 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| 속성 | Description |
|---|---|
| CompileQueryExpression<TResult>(Expression, Boolean) |
지정된 쿼리를 컴파일하여 쿼리를 실행하는 데 사용할 수 있는 식 트리를 생성합니다. |
| CompileQueryExpression<TResult>(Expression, Boolean, IReadOnlySet<String>) |
지정된 쿼리를 컴파일하여 쿼리를 실행하는 데 사용할 수 있는 식 트리를 생성합니다. |
CompileQueryExpression<TResult>(Expression, Boolean)
- Source:
- Database.cs
- Source:
- Database.cs
지정된 쿼리를 컴파일하여 쿼리를 실행하는 데 사용할 수 있는 식 트리를 생성합니다.
[System.Diagnostics.CodeAnalysis.Experimental("EF9100")]
public virtual System.Linq.Expressions.Expression<Func<Microsoft.EntityFrameworkCore.Query.QueryContext,TResult>> CompileQueryExpression<TResult>(System.Linq.Expressions.Expression query, bool async);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9100")>]
abstract member CompileQueryExpression : System.Linq.Expressions.Expression * bool -> System.Linq.Expressions.Expression<Func<Microsoft.EntityFrameworkCore.Query.QueryContext, 'Result>>
override this.CompileQueryExpression : System.Linq.Expressions.Expression * bool -> System.Linq.Expressions.Expression<Func<Microsoft.EntityFrameworkCore.Query.QueryContext, 'Result>>
Public Overridable Function CompileQueryExpression(Of TResult) (query As Expression, async As Boolean) As Expression(Of Func(Of QueryContext, TResult))
형식 매개 변수
- TResult
쿼리 결과의 형식입니다.
매개 변수
- query
- Expression
컴파일할 쿼리입니다.
- async
- Boolean
비동기 쿼리인지 여부를 나타내는 값입니다.
반품
쿼리를 실행하는 데 사용할 수 있는 식 트리입니다.
구현
- 특성
적용 대상
CompileQueryExpression<TResult>(Expression, Boolean, IReadOnlySet<String>)
- Source:
- Database.cs
지정된 쿼리를 컴파일하여 쿼리를 실행하는 데 사용할 수 있는 식 트리를 생성합니다.
[System.Diagnostics.CodeAnalysis.Experimental("EF9100")]
public virtual System.Linq.Expressions.Expression<Func<Microsoft.EntityFrameworkCore.Query.QueryContext,TResult>> CompileQueryExpression<TResult>(System.Linq.Expressions.Expression query, bool async, System.Collections.Generic.IReadOnlySet<string> nonNullableReferenceTypeParameters);
[<System.Diagnostics.CodeAnalysis.Experimental("EF9100")>]
abstract member CompileQueryExpression : System.Linq.Expressions.Expression * bool * System.Collections.Generic.IReadOnlySet<string> -> System.Linq.Expressions.Expression<Func<Microsoft.EntityFrameworkCore.Query.QueryContext, 'Result>>
override this.CompileQueryExpression : System.Linq.Expressions.Expression * bool * System.Collections.Generic.IReadOnlySet<string> -> System.Linq.Expressions.Expression<Func<Microsoft.EntityFrameworkCore.Query.QueryContext, 'Result>>
Public Overridable Function CompileQueryExpression(Of TResult) (query As Expression, async As Boolean, nonNullableReferenceTypeParameters As IReadOnlySet(Of String)) As Expression(Of Func(Of QueryContext, TResult))
형식 매개 변수
- TResult
쿼리 결과의 형식입니다.
매개 변수
- query
- Expression
컴파일할 쿼리입니다.
- async
- Boolean
비동기 쿼리인지 여부를 나타내는 값입니다.
- nonNullableReferenceTypeParameters
- IReadOnlySet<String>
nullable이 아닌 참조 형식이 있는 매개 변수의 이름입니다.
반품
쿼리를 실행하는 데 사용할 수 있는 식 트리입니다.
구현
- 특성