Share via


PropertyMappingConfiguration.HasColumnName(String) Method

Definition

Configures the name of the database column used to store the property, in a mapping fragment.

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

Parameters

columnName
String

The name of the column.

Returns

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

Applies to