Share via


DomainRelationshipAttribute Class

Definition

Attribute class used to mark the ___domain relationships (optional).

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

Constructors

DomainRelationshipAttribute()

Initializes a new instance of DomainRelationshipAttribute class.

Properties

AllowsDuplicates

Gets or sets whether ___domain relationship allows creating multiple instances between the same pair of elements.

IsEmbedding

Gets and sets whether ___domain object in the source role embeds ___domain objects in the target role.

Applies to