RuntimeTypeMappingConfiguration.ITypeMappingConfiguration.GetScale 方法

定义

获取此属性中允许的数据比例。 例如,如果 属性为 , Decimal 则这是小数位数的最大位数。

[System.Diagnostics.DebuggerStepThrough]
int? ITypeMappingConfiguration.GetScale ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.ITypeMappingConfiguration.GetScale : unit -> Nullable<int>
override this.Microsoft.EntityFrameworkCore.Metadata.ITypeMappingConfiguration.GetScale : unit -> Nullable<int>
Function GetScale () As Nullable(Of Integer) Implements ITypeMappingConfiguration.GetScale

返回

小数位数,如果未 null 定义,则为 。

实现

属性

适用于