ValueConverterInfo(Type, Type, Func<ValueConverterInfo,ValueConverter>, ConverterMappingHints) Oluşturucu
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Yeni bir ValueConverterInfo örneği oluşturur.
public ValueConverterInfo (Type modelClrType, Type providerClrType, Func<Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo,Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter> factory, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints mappingHints = default);
public ValueConverterInfo (Type modelClrType, Type providerClrType, Func<Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo,Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter> factory, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints? mappingHints = default);
new Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo : Type * Type * Func<Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter> * Microsoft.EntityFrameworkCore.Storage.ValueConversion.ConverterMappingHints -> Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo
Public Sub New (modelClrType As Type, providerClrType As Type, factory As Func(Of ValueConverterInfo, ValueConverter), Optional mappingHints As ConverterMappingHints = Nothing)
Parametreler
- modelClrType
- Type
EF modelinde kullanılan CLR türü.
- providerClrType
- Type
Veritabanı sağlayıcısından okuma ve yazma için kullanılan CLR türü.
- factory
- Func<ValueConverterInfo,ValueConverter>
Gerekirse dönüştürücüyü oluşturmak için bir fabrika.
- mappingHints
- ConverterMappingHints
Dönüştürülen veriler için uygun ITypeMappingSource facet'lerle veri türleri oluşturmak için tarafından kullanılmaktadır ipuçları.
Açıklamalar
Daha EF Core için bkz. değer dönüştürücüleri.