Partager via


PropertiesConfigurationBuilder<TProperty>.HavePrecision Method

Definition

Overloads

HavePrecision(Int32)

Configures the precision of the property.

HavePrecision(Int32, Int32)

Configures the precision and scale of the property.

HavePrecision(Int32)

Source:
PropertiesConfigurationBuilder%60.cs
Source:
PropertiesConfigurationBuilder%60.cs
Source:
PropertiesConfigurationBuilder%60.cs
Source:
PropertiesConfigurationBuilder%60.cs

Configures the precision of the property.

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

Parameters

precision
Int32

The precision of the property.

Returns

The same builder instance so that multiple configuration calls can be chained.

Applies to

HavePrecision(Int32, Int32)

Source:
PropertiesConfigurationBuilder%60.cs
Source:
PropertiesConfigurationBuilder%60.cs
Source:
PropertiesConfigurationBuilder%60.cs
Source:
PropertiesConfigurationBuilder%60.cs

Configures the precision and scale of the property.

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

Parameters

precision
Int32

The precision of the property.

scale
Int32

The scale of the property.

Returns

The same builder instance so that multiple configuration calls can be chained.

Applies to