Language

PropertyBuilder<TProperty>.HasPrecision メソッド

定義

オーバーロード

Name 説明
HasPrecision(Int32)

プロパティの有効桁数を構成します。

HasPrecision(Int32, Int32)

プロパティの有効桁数と小数点以下桁数を構成します。

HasPrecision(Int32)

ソース:
PropertyBuilder`.cs
ソース:
PropertyBuilder`.cs
ソース:
PropertyBuilder`.cs
ソース:
PropertyBuilder`.cs
ソース:
PropertyBuilder`.cs
ソース:
PropertyBuilder`.cs
ソース:
PropertyBuilder`.cs

プロパティの有効桁数を構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> HasPrecision(int precision);
override this.HasPrecision : int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
Public Overridable Function HasPrecision (precision As Integer) As PropertyBuilder(Of TProperty)

パラメーター

precision
Int32

プロパティの有効桁数。

戻り値

複数の構成呼び出しをチェーンできるように、同じビルダー インスタンス。

適用対象

HasPrecision(Int32, Int32)

ソース:
PropertyBuilder`.cs
ソース:
PropertyBuilder`.cs
ソース:
PropertyBuilder`.cs
ソース:
PropertyBuilder`.cs
ソース:
PropertyBuilder`.cs
ソース:
PropertyBuilder`.cs
ソース:
PropertyBuilder`.cs

プロパティの有効桁数と小数点以下桁数を構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> HasPrecision(int precision, int scale);
override this.HasPrecision : int * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
Public Overridable Function HasPrecision (precision As Integer, scale As Integer) As PropertyBuilder(Of TProperty)

パラメーター

precision
Int32

プロパティの有効桁数。

scale
Int32

プロパティのスケール。

戻り値

複数の構成呼び出しをチェーンできるように、同じビルダー インスタンス。

適用対象