PrecisionAttribute Constructors
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
PrecisionAttribute(Int32) |
Initializes a new instance of the PrecisionAttribute class. |
PrecisionAttribute(Int32, Int32) |
Initializes a new instance of the PrecisionAttribute class. |
PrecisionAttribute(Int32)
Initializes a new instance of the PrecisionAttribute class.
public PrecisionAttribute (int precision);
new Microsoft.EntityFrameworkCore.PrecisionAttribute : int -> Microsoft.EntityFrameworkCore.PrecisionAttribute
Public Sub New (precision As Integer)
Parameters
- precision
- Int32
The precision of the property.
Applies to
PrecisionAttribute(Int32, Int32)
Initializes a new instance of the PrecisionAttribute class.
public PrecisionAttribute (int precision, int scale);
new Microsoft.EntityFrameworkCore.PrecisionAttribute : int * int -> Microsoft.EntityFrameworkCore.PrecisionAttribute
Public Sub New (precision As Integer, scale As Integer)
Parameters
- precision
- Int32
The precision of the property.
- scale
- Int32
The scale of the property.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for