Language

PropertyExtensions.GetScale(IProperty) メソッド

定義

このプロパティで許可されているデータのスケールを取得します。 たとえば、プロパティが Decimal の場合、小数点以下の桁数の最大数になります。

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

パラメーター

property
IProperty

スケールを取得するプロパティ。

戻り値

スケール。定義されていない場合は null 。

適用対象