Share via


StringColumnConfiguration.HasColumnType(String) Method

Definition

Configures the data type of the database column.

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

Parameters

columnType
String

Name of the database provider specific data type.

Returns

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

Applies to