DecimalPropertyConfiguration.IsRequired Method ()

Entity Framework 6.0
 

Configures the property to be required. The database column used to store this property will be non-nullable. T:System.decimal properties are required by default.

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

public DecimalPropertyConfiguration IsRequired()

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration

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

Return to top
Show: