DecimalPropertyConfiguration.IsOptional Method ()

Entity Framework 6.0
 

Configures the property to be optional. The database column used to store this property will be nullable.

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

public DecimalPropertyConfiguration IsOptional()

Return Value

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

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

Return to top
Show: