VisualBasicMigrationCodeGenerator.TranslateColumnType Method (PrimitiveTypeKind)

 

Gets the type name to use for a column of the given data type.

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

protected virtual string TranslateColumnType(
	PrimitiveTypeKind primitiveTypeKind
)

Parameters

primitiveTypeKind
Type: System.Data.Entity.Core.Metadata.Edm.PrimitiveTypeKind

The data type to translate.

Return Value

Type: System.String

The type name to use in the generated migration.