Partager via


DomainObjectIdAttribute Class

Definition

This attribute is applied to domain model elements (classes, properties etc) to specify their unique ID.

public ref class DomainObjectIdAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public sealed class DomainObjectIdAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
type DomainObjectIdAttribute = class
    inherit Attribute
Public NotInheritable Class DomainObjectIdAttribute
Inherits Attribute
Inheritance
DomainObjectIdAttribute
Attributes

Constructors

DomainObjectIdAttribute(String)

Initializes a new instance of DomainObjectIdAttribute class.

Properties

Id

Gets the GUID identifier for the domain object.

Applies to