Export (0) Print
Expand All

DecimalPropertyConfiguration.HasPrecision Method

Entity Framework 5.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.
Show:
© 2014 Microsoft