Поделиться через


RelationalTypeMapping.RelationalTypeMappingParameters.WithTypeMappingInfo Метод

Определение

Перегрузки

WithTypeMappingInfo(RelationalTypeMappingInfo)

Создает новый RelationalTypeMapping.RelationalTypeMappingParameters объект параметра с заданными сведениями о сопоставлении.

WithTypeMappingInfo(RelationalTypeMappingInfo, Nullable<StoreTypePostfix>)

Создает новый RelationalTypeMapping.RelationalTypeMappingParameters объект параметра с заданными сведениями о сопоставлении.

WithTypeMappingInfo(RelationalTypeMappingInfo)

Создает новый RelationalTypeMapping.RelationalTypeMappingParameters объект параметра с заданными сведениями о сопоставлении.

public Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters WithTypeMappingInfo (in Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo mappingInfo);
member this.WithTypeMappingInfo : RelationalTypeMappingInfo -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters
Public Function WithTypeMappingInfo (ByRef mappingInfo As RelationalTypeMappingInfo) As RelationalTypeMapping.RelationalTypeMappingParameters

Параметры

mappingInfo
RelationalTypeMappingInfo

Сведения о сопоставлении, содержащие используемые аспекты.

Возвращаемое значение

Новый объект параметра.

Применяется к

WithTypeMappingInfo(RelationalTypeMappingInfo, Nullable<StoreTypePostfix>)

Создает новый RelationalTypeMapping.RelationalTypeMappingParameters объект параметра с заданными сведениями о сопоставлении.

public Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters WithTypeMappingInfo (in Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo mappingInfo, Microsoft.EntityFrameworkCore.Storage.StoreTypePostfix? storeTypePostfix = default);
member this.WithTypeMappingInfo : RelationalTypeMappingInfo * Nullable<Microsoft.EntityFrameworkCore.Storage.StoreTypePostfix> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters
Public Function WithTypeMappingInfo (ByRef mappingInfo As RelationalTypeMappingInfo, Optional storeTypePostfix As Nullable(Of StoreTypePostfix) = Nothing) As RelationalTypeMapping.RelationalTypeMappingParameters

Параметры

mappingInfo
RelationalTypeMappingInfo

Сведения о сопоставлении, содержащие используемые аспекты.

storeTypePostfix
Nullable<StoreTypePostfix>

Новый постфикс или null , чтобы оставить без изменений.

Возвращаемое значение

Новый объект параметра.

Применяется к