Table of Contents

Class KEFCoreTopicPrefixAttribute

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

Sets the Kafka topic prefix. Can be applied to an entity class or to a DbContext class (acts as default for all entities in that context).

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class KEFCoreTopicPrefixAttribute : Attribute
Inheritance
KEFCoreTopicPrefixAttribute
Inherited Members

Constructors

KEFCoreTopicPrefixAttribute(string?)

Sets the Kafka topic prefix. Can be applied to an entity class or to a DbContext class (acts as default for all entities in that context).

public KEFCoreTopicPrefixAttribute(string? prefix)

Parameters

prefix string

Properties

Prefix

The prefix to associated to the topic when it is created

public string? Prefix { get; }

Property Value

string