语言

EntityTypeConfigurationAttribute 类

定义

指定实体类型的配置类型。

[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
派生
特性

注解

有关详细信息和示例,请参阅 建模实体类型和关系 。

构造函数

名称 说明
EntityTypeConfigurationAttribute(Type)

初始化 EntityTypeConfigurationAttribute 类的新实例。

属性

名称 说明
EntityTypeConfigurationType

实体类型配置的类型。

适用于