共用方式為


RuntimeElementType 建構函式

定義

這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RuntimeElementType (Type clrType, Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty collectionProperty, bool nullable, int? maxLength, bool? unicode, int? precision, int? scale, Type? providerClrType, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter? valueConverter, Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer? valueComparer, Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter? jsonValueReaderWriter, Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? typeMapping);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.RuntimeElementType : Type * Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty * bool * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> * Type * Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter * Microsoft.EntityFrameworkCore.ChangeTracking.ValueComparer * Microsoft.EntityFrameworkCore.Storage.Json.JsonValueReaderWriter * Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping -> Microsoft.EntityFrameworkCore.Metadata.RuntimeElementType
Public Sub New (clrType As Type, collectionProperty As RuntimeProperty, nullable As Boolean, 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, valueComparer As ValueComparer, jsonValueReaderWriter As JsonValueReaderWriter, typeMapping As CoreTypeMapping)

參數

clrType
Type
collectionProperty
RuntimeProperty
nullable
Boolean
maxLength
Nullable<Int32>
unicode
Nullable<Boolean>
precision
Nullable<Int32>
scale
Nullable<Int32>
providerClrType
Type
valueConverter
ValueConverter
valueComparer
ValueComparer
jsonValueReaderWriter
JsonValueReaderWriter
typeMapping
CoreTypeMapping
屬性

適用於