共用方式為


RuntimeElementType.IReadOnlyElementType.GetPrecision 方法

定義

取得集合元素中允許的資料有效位數。 例如,如果專案類型是 Decimal ,則這是位數上限。

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

傳回

有效位數,如果沒有定義,則 null 為 。

實作

屬性

適用於