Partilhar via


DomainModelOwnerAttribute Class

Definition

This attribute is placed on MEL classes in DSL generated code to be able to statically map back to the corresponding domain model class. This mapping is required to support type-level TypeDescriptors on MEL classes since we need to instantiate a Store to get type information at design time.

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

Constructors

DomainModelOwnerAttribute(Type)

Properties

DomainModelType

Applies to