PrimitivePropertyConfiguration.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 PrimitivePropertyConfiguration HasColumnName(
	string columnName
)

Parameters

columnName
Type: System.String

The name of the column.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.PrimitivePropertyConfiguration

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