DomainRoleAttribute 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.
Attribute class used to mark the domain roles of a domain relationship.
public ref class DomainRoleAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public sealed class DomainRoleAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
type DomainRoleAttribute = class
inherit Attribute
Public NotInheritable Class DomainRoleAttribute
Inherits Attribute
- Inheritance
-
DomainRoleAttribute
- Attributes
Constructors
DomainRoleAttribute(DomainRoleOrder) |
Initializes a new instance of DomainRoleAttribute class. |
Properties
Multiplicity |
Gets and sets the multiplicity of this role in domain relationship. |
Order |
Gets the order of domain role in domain relationship. |
PropagatesCopy |
Gets and sets whether copy operation on the model is propagated through this role to the opposite role. |
PropagatesDelete |
Gets and sets whether delete operation on the model is propagated through this role to the opposite role. |
PropertyDisplayNameKey |
Gets or sets the PropertyDisplayNameKey. It is used in accessing the resx file to retrieve the locaized string for displaying purpose |
PropertyName |
Gets or sets name of property generated on the role player to access opposite role players. |
RolePlayer |
Gets or sets domain class playing this role. |