DecimalPropertyConfiguration.HasPrecision Method (Byte, Byte)
Configures the precision and scale of the property.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- precision
-
Type:
System.Byte
The precision of the property.
- scale
-
Type:
System.Byte
The scale of the property.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfigurationThe same DecimalPropertyConfiguration instance so that multiple calls can be chained.