EntityTypeConfigurationAttribute 類別

定義

指定實體類型的組態類型。

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class EntityTypeConfigurationAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public class EntityTypeConfigurationAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type EntityTypeConfigurationAttribute = class
    inherit Attribute
Public NotInheritable Class EntityTypeConfigurationAttribute
Inherits Attribute
Public Class EntityTypeConfigurationAttribute
Inherits Attribute
繼承
EntityTypeConfigurationAttribute
衍生
屬性

備註

如需詳細資訊和範例,請參閱 模型化實體類型和關聯 性。

建構函式

EntityTypeConfigurationAttribute(Type)

初始化 EntityTypeConfigurationAttribute 類別的新執行個體。

屬性

EntityTypeConfigurationType

實體類型組態的類型。

適用於