RelationalEntityTypeExtensions.GetContainerColumnTypeMappingConfigurationSource 方法

定義

警告

Container column mappings are now obtained from IColumnBase.StoreTypeMapping

ConfigurationSource取得容器資料行類型對應的 。

public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetContainerColumnTypeMappingConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
[System.Obsolete("Container column mappings are now obtained from IColumnBase.StoreTypeMapping")]
public static Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource? GetContainerColumnTypeMappingConfigurationSource (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetContainerColumnTypeMappingConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
[<System.Obsolete("Container column mappings are now obtained from IColumnBase.StoreTypeMapping")>]
static member GetContainerColumnTypeMappingConfigurationSource : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ConfigurationSource>
<Extension()>
Public Function GetContainerColumnTypeMappingConfigurationSource (entityType As IConventionEntityType) As Nullable(Of ConfigurationSource)

參數

entityType
IConventionEntityType

要為其設定容器資料行類型對應的實體類型。

傳回

ConfigurationSource容器資料行類型對應的 。

屬性

適用於