RuntimeTypeMappingConfiguration 构造函数

定义

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RuntimeTypeMappingConfiguration (Type clrType, int? maxLength, bool? unicode, int? precision, int? scale, Type? providerClrType, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter? valueConverter);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.RuntimeTypeMappingConfiguration : Type * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> * Type * Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter -> Microsoft.EntityFrameworkCore.Metadata.RuntimeTypeMappingConfiguration
Public Sub New (clrType As Type, maxLength As Nullable(Of Integer), unicode As Nullable(Of Boolean), precision As Nullable(Of Integer), scale As Nullable(Of Integer), providerClrType As Type, valueConverter As ValueConverter)

参数

clrType
Type
maxLength
Nullable<Int32>
unicode
Nullable<Boolean>
precision
Nullable<Int32>
scale
Nullable<Int32>
providerClrType
Type
valueConverter
ValueConverter
属性

适用于