DbReferenceEntry<TEntity,TProperty>.Query Method

Definition

Returns the query that would be used to load this entity from the database. The returned query can be modified using LINQ to perform filtering or operations in the database.

public System.Linq.IQueryable<TProperty> Query ();
member this.Query : unit -> System.Linq.IQueryable<'Property>
Public Function Query () As IQueryable(Of TProperty)

Returns

IQueryable<TProperty>

A query for the entity.

Applies to