DateTimePropertyConfiguration.HasColumnType(String) Method

Definition

Configures the data type of the database column used to store the property.

public System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration HasColumnType (string columnType);
override this.HasColumnType : string -> System.Data.Entity.ModelConfiguration.Configuration.DateTimePropertyConfiguration
Public Function HasColumnType (columnType As String) As DateTimePropertyConfiguration

Parameters

columnType
String

Name of the database provider specific data type.

Returns

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

Applies to