InMemoryEntityTypeExtensions.GetInMemoryQuery Method

Definition

Overloads

GetInMemoryQuery(IEntityType)

Gets the LINQ query used as the default source for queries of this type.

GetInMemoryQuery(IReadOnlyEntityType)

Gets the LINQ query used as the default source for queries of this type.

GetInMemoryQuery(IEntityType)

Gets the LINQ query used as the default source for queries of this type.

public static System.Linq.Expressions.LambdaExpression GetInMemoryQuery (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetInMemoryQuery : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> System.Linq.Expressions.LambdaExpression
<Extension()>
Public Function GetInMemoryQuery (entityType As IEntityType) As LambdaExpression

Parameters

entityType
IEntityType

The entity type to get the in-memory query for.

Returns

The LINQ query used as the default source.

Applies to

GetInMemoryQuery(IReadOnlyEntityType)

Gets the LINQ query used as the default source for queries of this type.

public static System.Linq.Expressions.LambdaExpression? GetInMemoryQuery (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetInMemoryQuery : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> System.Linq.Expressions.LambdaExpression
<Extension()>
Public Function GetInMemoryQuery (entityType As IReadOnlyEntityType) As LambdaExpression

Parameters

entityType
IReadOnlyEntityType

The entity type to get the in-memory query for.

Returns

The LINQ query used as the default source.

Applies to