Table of Contents

Class KEFCoreTransactionalConvention

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

A convention that resolves per-entity Kafka transaction group configuration at model finalization time, storing the result as a model annotation on each IEntityType.

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

Remarks

Reads KEFCoreTransactionalAttribute from the entity CLR type. Entity types without the attribute use the standard non-transactional producer path unchanged.

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.