Export (0) Print
Expand All

DecimalPropertyConfiguration.HasColumnType Method

Entity Framework 5.0

Configures the data type of the database column used to store the property.

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

public DecimalPropertyConfiguration HasColumnType(
	string columnType
)

Parameters

columnType
Type: System.String

Name of the database provider specific data type.

Return Value

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