OwnedAttribute 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.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework