Inheritance: TableCommand, ITranslatableCommand
 public CreateColumnCommand(CreateTableCommand parent, string columnName, DbType type, bool isNullable, bool isPrimaryKey)
     : base(parent)
 {
     _columnName = columnName;
     _type = type;
     _isNullable = isNullable;
     _isPrimaryKey = isPrimaryKey;
 }
 public CreateColumnCommand(CreateTableCommand parent, string columnName, DbType type, bool isNullable, bool isPrimaryKey)
     : base(parent)
 {
     _columnName   = columnName;
     _type         = type;
     _isNullable   = isNullable;
     _isPrimaryKey = isPrimaryKey;
 }
Esempio n. 3
0
 public ICreatedTable CreateTable(string tableName, string primaryKeyConstraintName)
 {
     var createTableCommand = new CreateTableCommand(_root, tableName, primaryKeyConstraintName);
     _root.Add(createTableCommand);
     return new CreatedTable(createTableCommand);
 }