Sdílet prostřednictvím


ComplexTypePropertyBuilder<TProperty>.HasPrecision Metoda

Definice

Přetížení

HasPrecision(Int32)

Konfiguruje přesnost vlastnosti .

HasPrecision(Int32, Int32)

Konfiguruje přesnost a měřítko vlastnosti .

HasPrecision(Int32)

Konfiguruje přesnost vlastnosti .

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

Parametry

precision
Int32

Přesnost vlastnosti.

Návraty

Stejná instance tvůrce, aby bylo možné zřetězených více volání konfigurace.

Platí pro

HasPrecision(Int32, Int32)

Konfiguruje přesnost a měřítko vlastnosti .

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

Parametry

precision
Int32

Přesnost vlastnosti.

scale
Int32

Měřítko vlastnosti

Návraty

Stejná instance tvůrce, aby bylo možné zřetězených více volání konfigurace.

Platí pro