Share via


StringPropertyConfiguration.HasColumnName(String) Method

Definition

Configures the name of the database column used to store the property.

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

Parameters

columnName
String

The name of the column.

Returns

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

Applies to