EntityNameAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This allows you to mark a class with the name of the Entity it represents.
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class EntityNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type EntityNameAttribute = class
inherit Attribute
Public NotInheritable Class EntityNameAttribute
Inherits Attribute
- Inheritance
-
EntityNameAttribute
- Attributes
Constructors
| Name | Description |
|---|---|
| EntityNameAttribute(String) | |
Properties
| Name | Description |
|---|---|
| EntityName |
Gets the Entity name for the entity class |