ElementTypeBuilder.HasPrecision 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
HasPrecision(Int32) |
Configures the precision of elements of the collection. |
HasPrecision(Int32, Int32) |
Configures the precision and scale of elements of the collection. |
HasPrecision(Int32)
Configures the precision of elements of the collection.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder HasPrecision (int precision);
abstract member HasPrecision : int -> Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder
override this.HasPrecision : int -> Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder
Public Overridable Function HasPrecision (precision As Integer) As ElementTypeBuilder
Parameters
- precision
- Int32
The precision of elements of the collection.
Returns
The same builder instance so that multiple configuration calls can be chained.
Applies to
HasPrecision(Int32, Int32)
Configures the precision and scale of elements of the collection.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder HasPrecision (int precision, int scale);
abstract member HasPrecision : int * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder
override this.HasPrecision : int * int -> Microsoft.EntityFrameworkCore.Metadata.Builders.ElementTypeBuilder
Public Overridable Function HasPrecision (precision As Integer, scale As Integer) As ElementTypeBuilder
Parameters
- precision
- Int32
The precision of elements of the collection.
- scale
- Int32
The scale of elements of the collection.
Returns
The same builder instance so that multiple configuration calls can be chained.
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: