/// <summary> /// Creates a new <see cref="RelationalTypeMappingParameters" /> parameter object with the given /// converter composed with any existing converter and set on the new parameter object. /// </summary> /// <param name="converter"> The converter. </param> /// <returns> The new parameter object. </returns> public RelationalTypeMappingParameters WithComposedConverter([CanBeNull] ValueConverter converter) => new RelationalTypeMappingParameters( CoreParameters.WithComposedConverter(converter), StoreType, DbType, Unicode, Size, FixedLength);
/// <summary> /// Creates a new <see cref="RelationalTypeMappingParameters" /> parameter object with the given /// converter composed with any existing converter and set on the new parameter object. /// </summary> /// <param name="converter"> The converter. </param> /// <returns> The new parameter object. </returns> public RelationalTypeMappingParameters WithComposedConverter([CanBeNull] ValueConverter converter) => new RelationalTypeMappingParameters( CoreParameters.WithComposedConverter(converter), StoreType, StoreTypePostfix, DbType, Unicode, Size, FixedLength, Precision, Scale, PrecisionAndScaleOverriden);