Table of Contents

Class KEFCoreStoreLookupConvention

Namespace
MASES.EntityFrameworkCore.KNet.Metadata.Conventions
Assembly
MASES.EntityFrameworkCore.KNet.dll

A convention that resolves per-entity Streams store query optimization flags at model finalization time, storing the results as model annotations on each IEntityType.

public class KEFCoreStoreLookupConvention : IModelFinalizingConvention, IConvention
Inheritance
KEFCoreStoreLookupConvention
Implements
Inherited Members

Remarks

Reads KEFCoreStoreLookupAttribute from the entity CLR type. Only flags explicitly declared via the attribute are stored — omitted flags fall back to the context-level defaults from KEFCoreOptionsExtension at query time.

Methods

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called when a model is being finalized.

public void ProcessModelFinalizing(IConventionModelBuilder modelBuilder, IConventionContext<IConventionModelBuilder> context)

Parameters

modelBuilder IConventionModelBuilder

The builder for the model.

context IConventionContext<IConventionModelBuilder>

Additional information associated with convention execution.