Delen via


OwnedAttribute Class

Definition

Marks a type as owned. All references to this type will be configured as owned entity types.

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

Remarks

See Modeling entity types and relationships for more information and examples.

Constructors

OwnedAttribute()

Applies to