Class AlterTableAddColumns
Represents an operation to add new columns to a table.
public class AlterTableAddColumns : IAlterTableOperation
- Inheritance
-
AlterTableAddColumns
- Implements
- Inherited Members
Constructors
AlterTableAddColumns(Dictionary<string, AlterTableColumnDefinition>)
Initializes a new instance with the specified columns.
public AlterTableAddColumns(Dictionary<string, AlterTableColumnDefinition> columns)
Parameters
columnsDictionary<string, AlterTableColumnDefinition>The columns to add.
Properties
Columns
Gets the columns to be added.
public Dictionary<string, AlterTableColumnDefinition> Columns { get; }
Property Value
Methods
ToJsonFragment()
Converts the operation to its JSON representation.
public object ToJsonFragment()
Returns
- object
A serializable object representing the operation.