EntityTypeConfigurationAttribute(Type) 构造函数

定义

初始化 EntityTypeConfigurationAttribute 类的新实例。

public EntityTypeConfigurationAttribute (Type entityConfigurationType);
new Microsoft.EntityFrameworkCore.EntityTypeConfigurationAttribute : Type -> Microsoft.EntityFrameworkCore.EntityTypeConfigurationAttribute
Public Sub New (entityConfigurationType As Type)

参数

entityConfigurationType
Type

要使用的 IEntityTypeConfiguration<> 类型。

适用于