SqlServerMigrationSqlGenerator::BuildColumnType Method

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

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.
Show: