Share via


PropertyExtensions.GetPrecision(IProperty) メソッド

定義

このプロパティで許可されているデータの有効桁数を取得します。 たとえば、 プロパティが の Decimal 場合、これは最大桁数です。

public static int? GetPrecision (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetPrecision : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Nullable<int>
<Extension()>
Public Function GetPrecision (property As IProperty) As Nullable(Of Integer)

パラメーター

property
IProperty

有効桁数を取得する プロパティ。

戻り値

有効桁数。または null 何も定義されていない場合は 。

適用対象