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


RelationalTypeMapping.WithTypeMappingInfo(RelationalTypeMappingInfo) Метод

Определение

При необходимости клонирует сопоставление типов для обновления аспектов из сведений о сопоставлении.

public virtual Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping WithTypeMappingInfo (in Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo mappingInfo);
abstract member WithTypeMappingInfo : RelationalTypeMappingInfo -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
override this.WithTypeMappingInfo : RelationalTypeMappingInfo -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Public Overridable Function WithTypeMappingInfo (mappingInfo As RelationalTypeMappingInfo) As RelationalTypeMapping

Параметры

mappingInfo
RelationalTypeMappingInfo

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

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

Клонированного сопоставления или исходного сопоставления, если клонирование не требовалось.

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