InMemoryEntityTypeExtensions Class

Definition

Extension methods for IReadOnlyEntityType for the in-memory provider.

public static class InMemoryEntityTypeExtensions
type InMemoryEntityTypeExtensions = class
Public Module InMemoryEntityTypeExtensions
Inheritance
InMemoryEntityTypeExtensions

Remarks

See Modeling entity types and relationships, and The EF Core in-memory database provider for more information and examples.

Methods

GetDefiningQueryConfigurationSource(IConventionEntityType)

Returns the configuration source for GetInMemoryQuery(IReadOnlyEntityType).

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.

SetInMemoryQuery(IConventionEntityType, LambdaExpression, Boolean)

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

SetInMemoryQuery(IMutableEntityType, LambdaExpression)

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

Applies to