Share via


RelationalQueryModelVisitor.TryGetQuery(IQuerySource) Method

Definition

Try and get the active SelectExpression for a given query source.

public virtual Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression TryGetQuery (Remotion.Linq.Clauses.IQuerySource querySource);
abstract member TryGetQuery : Remotion.Linq.Clauses.IQuerySource -> Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression
override this.TryGetQuery : Remotion.Linq.Clauses.IQuerySource -> Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression
Public Overridable Function TryGetQuery (querySource As IQuerySource) As SelectExpression

Parameters

querySource
Remotion.Linq.Clauses.IQuerySource

The query source.

Returns

A SelectExpression, or null.

Applies to