Поделиться через


InMemoryEntityTypeExtensions Class

Definition

Extension methods for IReadOnlyEntityType for the in-memory provider.

[System.Runtime.CompilerServices.Nullable(0)]
public static class InMemoryEntityTypeExtensions
public static class InMemoryEntityTypeExtensions
[<System.Runtime.CompilerServices.Nullable(0)>]
type InMemoryEntityTypeExtensions = class
type InMemoryEntityTypeExtensions = class
Public Module InMemoryEntityTypeExtensions
Inheritance
InMemoryEntityTypeExtensions
Attributes

Remarks

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

Methods

Name Description
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.

GetInMemoryQueryConfigurationSource(IConventionEntityType)

Returns the configuration source for GetInMemoryQuery(IReadOnlyEntityType).

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