OwnedAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
標記該類型為擁有。 所有對此類型的引用都會被設定為擁有實體類型。
[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() |
標記該類型為擁有。 所有對此類型的引用都會被設定為擁有實體類型。 |