PropertiesConfigurationBuilder.HavePrecision Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HavePrecision(Int32) |
Configures the precision of the property. |
HavePrecision(Int32, Int32) |
Configures the precision and scale of the property. |
HavePrecision(Int32)
Configures the precision of the property.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder HavePrecision (int precision);
abstract member HavePrecision : int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder
override this.HavePrecision : int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder
Public Overridable Function HavePrecision (precision As Integer) As PropertiesConfigurationBuilder
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)
Configures the precision and scale of the property.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder HavePrecision (int precision, int scale);
abstract member HavePrecision : int * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder
override this.HavePrecision : int * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertiesConfigurationBuilder
Public Overridable Function HavePrecision (precision As Integer, scale As Integer) As PropertiesConfigurationBuilder
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
Entity Framework