Table of Contents

Class EntityNameAttribute

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll

Specify the EntityName used for this message contract if configured.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface)]
public class EntityNameAttribute : Attribute
Inheritance
EntityNameAttribute
Inherited Members

Constructors

EntityNameAttribute(string)

public EntityNameAttribute(string entityName)

Parameters

entityName string

The entity name to use for the message type

Properties

EntityName

public string EntityName { get; }

Property Value

string