public ICreateTableSyntax AddColumn(string name, Action<IColumnConfigurator> configuration)
            {
                var columnNode = new ColumnNode(name);
                configuration(columnNode.Configurator);
                _node._columnNodes.Add(columnNode);

                return this;
            }
예제 #2
0
 public ColumnConfigurator(ColumnNode columnNode)
 {
     _columnNode = columnNode;
 }
 public IColumnConfigurator AddColumn(string name)
 {
     var columnNode = new ColumnNode(name);
     _node._columnNodes.Add(columnNode);
     return columnNode.Configurator;
 }