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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework