Table of Contents

Class KEFCoreRocksDbLifecycleAttributeConvention

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

Reads KEFCoreRocksDbLifecycleAttribute from CLR entity types and writes the corresponding KEFCore RocksDB lifecycle metadata into the EF Core model.

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

Remarks

Fluent API is expected to win over data annotations according to standard EF Core precedence rules.

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.