共用方式為


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 為 。

實作

屬性

適用於