Language

MutablePropertyExtensions.SetPrecision メソッド

定義

このプロパティで使用できるデータの有効桁数を設定します。 たとえば、プロパティが Decimal の場合、これは最大桁数です。

public static void SetPrecision(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, int? precision);
static member SetPrecision : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int> -> unit
<Extension()>
Public Sub SetPrecision (property As IMutableProperty, precision As Nullable(Of Integer))

パラメーター

property
IMutableProperty

有効桁数を設定するプロパティ。

precision
Nullable<Int32>

このプロパティで許可される最大桁数。

適用対象