PrecisionAttributeConvention 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.
A convention that configures the Precision based on the PrecisionAttribute applied on the property.
public class PrecisionAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<Microsoft.EntityFrameworkCore.PrecisionAttribute>
type PrecisionAttributeConvention = class
inherit PropertyAttributeConventionBase<PrecisionAttribute>
Public Class PrecisionAttributeConvention
Inherits PropertyAttributeConventionBase(Of PrecisionAttribute)
- Inheritance
See Model building conventions for more information and examples.
Precision |
Creates a new instance of PrecisionAttributeConvention. |
Dependencies |
Dependencies for this service. (Inherited from PropertyAttributeConventionBase<TAttribute>) |
Продукт | Версии |
---|---|
Entity Framework Core | 6.0, 7.0, 8.0, 9.0 |
Обратна връзка за Entity Framework
Entity Framework е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: