PrimitivePropertyConfiguration.HasColumnName(String) PrimitivePropertyConfiguration.HasColumnName(String) PrimitivePropertyConfiguration.HasColumnName(String) Method

Definition

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

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

Parameters

columnName
String String String

The name of the column.

Returns

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

Applies to