Share via


DecimalPropertyConfiguration.IsOptional Method

Definition

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

public System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration IsOptional ();
override this.IsOptional : unit -> System.Data.Entity.ModelConfiguration.Configuration.DecimalPropertyConfiguration
Public Function IsOptional () As DecimalPropertyConfiguration

Returns

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

Applies to