public AddColumnCommand(AlterTableCommand parent, string columnName, DbType type, bool isNullable) : base(parent) { _columnName = columnName; _type = type; _isNullable = isNullable; }
public AddColumnCommand(AlterTableCommand parent, string columnName, DbType type, bool isNullable, bool isRowVersion) : base(parent) { _columnName = columnName; _type = type; _isNullable = isNullable; _isRowVersion = isRowVersion; }
public AlterPrimaryKeyCommand(AlterTableCommand parent, string constraintName) : base(parent) { if (string.IsNullOrEmpty(constraintName)) { throw new ArgumentException("Empty constraintName."); } _constraintName = constraintName; }
public AddIndexCommand(AlterTableCommand parent, string indexName) : base(parent) { _indexName = indexName; }
public AddForeignKeyToCommand(AlterTableCommand parent, string referencedTableName, string constraintName) : base(parent) { _referencedTableName = referencedTableName; _constraintName = constraintName; }
public AddPrimaryKeyCommand(AlterTableCommand parent, string constraintName) : base(parent) { _constraintName = constraintName; }
public AddUniqueConstraintCommand(AlterTableCommand parent, string constraintName) : base(parent) { _constraintName = constraintName; }