DecimalPropertyConfiguration.HasPrecision(Byte, Byte) DecimalPropertyConfiguration.HasPrecision(Byte, Byte) DecimalPropertyConfiguration.HasPrecision(Byte, Byte) Method

Definition

Configures the precision and scale of the property.

public System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration HasPrecision (byte precision, byte scale);
member this.HasPrecision : byte * byte -> System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration
Public Function HasPrecision (precision As Byte, scale As Byte) As DecimalPropertyConfiguration

Parameters

precision
Byte Byte Byte

The precision of the property.

scale
Byte Byte Byte

The scale of the property.

Returns

The same DecimalPropertyConfiguration instance so that multiple calls can be chained.

Applies to