Export (0) Print
Expand All

StringColumnConfiguration.HasColumnType Method

Entity Framework 5.0

Configures the data type of the database column.

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

public StringColumnConfiguration HasColumnType(
	string columnType
)

Parameters

columnType
Type: System.String

Name of the database provider specific data type.

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.StringColumnConfiguration
The same StringColumnConfiguration instance so that multiple calls can be chained.
Show:
© 2014 Microsoft