Share via


RelationalTypeMapping.RelationalTypeMappingParameters.WithScale Method

Definition

Creates a new RelationalTypeMapping.RelationalTypeMappingParameters parameter object with the given scale.

public Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters WithScale (int? scale);
member this.WithScale : Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping.RelationalTypeMappingParameters
Public Function WithScale (scale As Nullable(Of Integer)) As RelationalTypeMapping.RelationalTypeMappingParameters

Parameters

scale
Nullable<Int32>

The scale of data the property is configured to store, or null if no size is configured.

Returns

The new parameter object.

Applies to