Share via


StringPropertyConfiguration.HasColumnType(String) Method

Definition

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

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

Parameters

columnType
String

Name of the database provider specific data type.

Returns

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

Applies to