DbContext.FromExpression<TResult> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a queryable for given query expression.
public virtual System.Linq.IQueryable<TResult> FromExpression<TResult> (System.Linq.Expressions.Expression<Func<System.Linq.IQueryable<TResult>>> expression);
abstract member FromExpression : System.Linq.Expressions.Expression<Func<System.Linq.IQueryable<'Result>>> -> System.Linq.IQueryable<'Result>
override this.FromExpression : System.Linq.Expressions.Expression<Func<System.Linq.IQueryable<'Result>>> -> System.Linq.IQueryable<'Result>
Public Overridable Function FromExpression(Of TResult) (expression As Expression(Of Func(Of IQueryable(Of TResult)))) As IQueryable(Of TResult)
Type Parameters
- TResult
The result type of the query expression.
Parameters
- expression
- Expression<Func<IQueryable<TResult>>>
The query expression to create.
Returns
IQueryable<TResult>
An IQueryable<T> representing the query.
Remarks
See Querying data with EF Core for more information and examples.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework