SqlServerMigrationSqlGenerator.BuildColumnType Method (ColumnModel)

 

Generates SQL to specify the data type of a column. This method just generates the actual type, not the SQL to create the column.

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

protected virtual string BuildColumnType(
	ColumnModel columnModel
)

Parameters

columnModel
Type: System.Data.Entity.Migrations.Model.ColumnModel

The definition of the column.

Return Value

Type: System.String

SQL representing the data type.