Add a nullable column to an existing table.
Namespace:
Mindscape.NHibernateModelDesigner.MigrationsAssembly: Mindscape.NHibernateModelDesigner.Migrations (in Mindscape.NHibernateModelDesigner.Migrations.dll)
Version: 3.1.0.0 (3.1.0.0)
Syntax
C# |
---|
protected void AddColumn( string tableName, string columnName, ModelDataType type ) |
Visual Basic (Declaration) |
---|
Protected Sub AddColumn ( _ tableName As String, _ columnName As String, _ type As ModelDataType _ ) |
Parameters
- tableName
- Type: System..::.String
The name of the table to add the column to.
- columnName
- Type: System..::.String
The name of the column to add.
- type
- Type: Mindscape.NHibernateModelDesigner.Migrations..::.ModelDataType
The type of the column to add.