PrecisionAttribute Class
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.
Configures the precision of data that is allowed in this property. For example, if the property is a Decimal then this is the maximum number of digits.
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
public class PrecisionAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)>]
type PrecisionAttribute = class
inherit Attribute
Public Class PrecisionAttribute
Inherits Attribute
- Inheritance
-
PrecisionAttribute
- Attributes
See Modeling entity types and relationships for more information and examples.
Precision |
Initializes a new instance of the PrecisionAttribute class. |
Precision |
Initializes a new instance of the PrecisionAttribute class. |
Продукт | Версии |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
Обратна връзка за Entity Framework
Entity Framework е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: