InMemoryEntityTypeBuilderExtensions Class

Definition

Extension methods for EntityTypeBuilder for the in-memory provider.

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

Remarks

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

Methods

Name Description
CanSetInMemoryQuery(IConventionEntityTypeBuilder, LambdaExpression, Boolean)

Returns a value indicating whether the given in-memory query can be set from the current configuration source.

ToInMemoryQuery(EntityTypeBuilder, LambdaExpression)

Configures a query used to provide data for an entity type.

ToInMemoryQuery(IConventionEntityTypeBuilder, LambdaExpression, Boolean)

Configures a query used to provide data for an entity type.

ToInMemoryQuery<TEntity>(EntityTypeBuilder<TEntity>, Expression<Func<IQueryable<TEntity>>>)

Configures a query used to provide data for an entity type.

Applies to