RelationalPropertyExtensions.GetScale メソッド

定義

オーバーロード

GetScale(IProperty, StoreObjectIdentifier)

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

GetScale(IReadOnlyProperty, StoreObjectIdentifier)

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

GetScale(IProperty, StoreObjectIdentifier)

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

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

パラメーター

property
IProperty

プロパティ。

storeObject
StoreObjectIdentifier

列を含むテーブルに似たストア オブジェクトの識別子。

戻り値

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

適用対象

GetScale(IReadOnlyProperty, StoreObjectIdentifier)

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

public static int? GetScale (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetScale : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> Nullable<int>
<Extension()>
Public Function GetScale (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of Integer)

パラメーター

property
IReadOnlyProperty

プロパティ。

storeObject
StoreObjectIdentifier

列を含むテーブルに似たストア オブジェクトの識別子。

戻り値

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

適用対象