DecimalPropertyConfiguration.HasPrecision Method (Byte, Byte)

Entity Framework 6.0
 

Configures the precision and scale of the property.

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

public DecimalPropertyConfiguration HasPrecision(
	byte precision,
	byte scale
)

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.DecimalPropertyConfiguration

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

Return to top
Show: