Ejemplo n.º 1
0
 public AddColumnCommand(AlterTableCommand parent, string columnName, DbType type, bool isNullable)
     : base(parent)
 {
     _columnName = columnName;
     _type       = type;
     _isNullable = isNullable;
 }
Ejemplo n.º 2
0
 public AddColumnCommand(AlterTableCommand parent, string columnName, DbType type, bool isNullable, bool isRowVersion)
     : base(parent)
 {
     _columnName = columnName;
     _type = type;
     _isNullable = isNullable;
     _isRowVersion = isRowVersion;
 }
Ejemplo n.º 3
0
        public AlterPrimaryKeyCommand(AlterTableCommand parent, string constraintName)
            : base(parent)
        {
            if (string.IsNullOrEmpty(constraintName))
            {
                throw new ArgumentException("Empty constraintName.");
            }

            _constraintName = constraintName;
        }
Ejemplo n.º 4
0
 public AddIndexCommand(AlterTableCommand parent, string indexName) : base(parent)
 {
     _indexName = indexName;
 }
Ejemplo n.º 5
0
 public AddForeignKeyToCommand(AlterTableCommand parent, string referencedTableName, string constraintName)
     : base(parent)
 {
     _referencedTableName = referencedTableName;
     _constraintName = constraintName;
 }
Ejemplo n.º 6
0
 public AddPrimaryKeyCommand(AlterTableCommand parent, string constraintName) : base(parent)
 {
     _constraintName = constraintName;
 }
Ejemplo n.º 7
0
 public AddUniqueConstraintCommand(AlterTableCommand parent, string constraintName)
     : base(parent)
 {
     _constraintName = constraintName;
 }
Ejemplo n.º 8
0
 public AddIndexCommand(AlterTableCommand parent, string indexName)
     : base(parent)
 {
     _indexName = indexName;
 }
Ejemplo n.º 9
0
 public AddForeignKeyToCommand(AlterTableCommand parent, string referencedTableName, string constraintName)
     : base(parent)
 {
     _referencedTableName = referencedTableName;
     _constraintName      = constraintName;
 }
Ejemplo n.º 10
0
 public AddPrimaryKeyCommand(AlterTableCommand parent, string constraintName)
     : base(parent)
 {
     _constraintName = constraintName;
 }
Ejemplo n.º 11
0
 public AddUniqueConstraintCommand(AlterTableCommand parent, string constraintName)
     : base(parent)
 {
     _constraintName = constraintName;
 }