EntityTypeConfigurationAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定實體類型的配置類型。
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.Runtime.CompilerServices.Nullable(0)]
public class EntityTypeConfigurationAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class EntityTypeConfigurationAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type EntityTypeConfigurationAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type EntityTypeConfigurationAttribute = class
inherit Attribute
Public Class EntityTypeConfigurationAttribute
Inherits Attribute
Public NotInheritable Class EntityTypeConfigurationAttribute
Inherits Attribute
- 繼承
-
EntityTypeConfigurationAttribute
- 衍生
- 屬性
備註
更多資訊與範例請參閱 建模實體類型與關係 。
建構函式
| 名稱 | Description |
|---|---|
| EntityTypeConfigurationAttribute(Type) |
初始化 EntityTypeConfigurationAttribute 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| EntityTypeConfigurationType |
實體類型的配置類型。 |