RelationalEntityTypeExtensions.SetContainerColumnTypeMapping Yöntem
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.
Aşırı Yüklemeler
SetContainerColumnTypeMapping(IMutableEntityType, RelationalTypeMapping) |
Geçersiz.
Varlık türünün eşlendiği kapsayıcı sütunu için tür eşlemesini ayarlar. |
SetContainerColumnTypeMapping(IConventionEntityType, RelationalTypeMapping, Boolean) |
Geçersiz.
Varlık türünün eşlendiği kapsayıcı sütunu için tür eşlemesini ayarlar. |
SetContainerColumnTypeMapping(IMutableEntityType, RelationalTypeMapping)
Dikkat
Container column mappings are now obtained from IColumnBase.StoreTypeMapping
Varlık türünün eşlendiği kapsayıcı sütunu için tür eşlemesini ayarlar.
public static void SetContainerColumnTypeMapping (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
[System.Obsolete("Container column mappings are now obtained from IColumnBase.StoreTypeMapping")]
public static void SetContainerColumnTypeMapping (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping);
static member SetContainerColumnTypeMapping : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> unit
[<System.Obsolete("Container column mappings are now obtained from IColumnBase.StoreTypeMapping")>]
static member SetContainerColumnTypeMapping : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping -> unit
<Extension()>
Public Sub SetContainerColumnTypeMapping (entityType As IMutableEntityType, typeMapping As RelationalTypeMapping)
Parametreler
- entityType
- IMutableEntityType
Kapsayıcı sütun türü eşlemesinin ayarlanacağı varlık türü.
- typeMapping
- RelationalTypeMapping
Ayarlanacağı tür eşlemesi.
- Öznitelikler
Şunlara uygulanır
SetContainerColumnTypeMapping(IConventionEntityType, RelationalTypeMapping, Boolean)
Dikkat
Container column mappings are now obtained from IColumnBase.StoreTypeMapping
Varlık türünün eşlendiği kapsayıcı sütunu için tür eşlemesini ayarlar.
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? SetContainerColumnTypeMapping (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping, bool fromDataAnnotation = false);
[System.Obsolete("Container column mappings are now obtained from IColumnBase.StoreTypeMapping")]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? SetContainerColumnTypeMapping (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping, bool fromDataAnnotation = false);
static member SetContainerColumnTypeMapping : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * bool -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
[<System.Obsolete("Container column mappings are now obtained from IColumnBase.StoreTypeMapping")>]
static member SetContainerColumnTypeMapping : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * bool -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
<Extension()>
Public Function SetContainerColumnTypeMapping (entityType As IConventionEntityType, typeMapping As RelationalTypeMapping, Optional fromDataAnnotation As Boolean = false) As RelationalTypeMapping
Parametreler
- entityType
- IConventionEntityType
Kapsayıcı sütun türü eşlemesinin ayarlanacağı varlık türü.
- typeMapping
- RelationalTypeMapping
Ayarlanacağı tür eşlemesi.
- fromDataAnnotation
- Boolean
Yapılandırmanın bir veri ek açıklaması kullanılarak belirtilip belirtilmedidiğini gösterir.
Döndürülenler
Yapılandırılan değer.
- Öznitelikler
Şunlara uygulanır
Entity Framework
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin