Aracılığıyla paylaş


RelationalEntityTypeExtensions.SetContainerColumnTypeMapping Yöntem

Tanım

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