共用方式為


RuntimeProperty.IReadOnlyProperty.GetScale 方法

定義

取得這個屬性中允許的資料小數位數。 例如,如果 屬性是 Decimal ,則這是小數位數的最大值。

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

傳回

尺規,如果沒有定義,則 null 為 。

實作

屬性

適用於