System.Data.Entity.SqlServer.SqlServerMigrationSqlGenerator.BuildColumnType C# (CSharp) Method

BuildColumnType() protected method

Generates SQL to specify the data type of a column. This method just generates the actual type, not the SQL to create the column.
protected BuildColumnType ( System.Data.Entity.Migrations.Model.ColumnModel columnModel ) : string
columnModel System.Data.Entity.Migrations.Model.ColumnModel The definition of the column.
return string
        protected virtual string BuildColumnType(ColumnModel columnModel)
        {
            Check.NotNull(columnModel, "columnModel");

            if (columnModel.IsTimestamp)
            {
                return "rowversion";
            }

            return BuildPropertyType(columnModel);
        }