DateTimePropertyConfiguration.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.DateTimePropertyConfiguration IsOptional ();
override this.IsOptional : unit -> System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration
Public Function IsOptional () As DateTimePropertyConfiguration

Returns

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

Applies to