Table of Contents

Class KEFCoreValueBufferCacheConvention

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

Resolves per-entity value buffer cache TTL configuration at model finalization time. Reads KEFCoreValueBufferCacheAttribute from the entity CLR type and stores forward and reverse TTLs as model annotations.

public sealed class KEFCoreValueBufferCacheConvention : IModelFinalizingConvention, IConvention
Inheritance
KEFCoreValueBufferCacheConvention
Implements
Inherited Members

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.