ConventionPrimitivePropertyConfiguration.HasColumnName Method (String)

 

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

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

public virtual ConventionPrimitivePropertyConfiguration HasColumnName(
	string columnName
)

Parameters

columnName
Type: System.String

The name of the column.

Calling this will have no effect once it has been configured.