語言

OwnedAttribute 類別

定義

標記該類型為擁有。 所有對此類型的引用都會被設定為擁有實體類型。

[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
繼承
OwnedAttribute
屬性

備註

更多資訊與範例請參閱 建模實體類型與關係 。

建構函式

名稱 Description
OwnedAttribute()

標記該類型為擁有。 所有對此類型的引用都會被設定為擁有實體類型。

適用於