public void Table(string tableName, Action <IRedshiftCreateTableCommandBuilder> tbl)
        {
            var builder = new RedshiftCreateTableCommandBuilder(tableName);

            tbl(builder);
            _builder = builder;
        }
Esempio n. 2
0
        public void ExecuteIf(Func <bool> predicate, IRedshiftBuilder cmd)
        {
            if (!predicate())
            {
                return;
            }

            Execute(cmd);
        }
Esempio n. 3
0
 public void Execute(IRedshiftBuilder cmd)
 {
     Commands.Add(cmd.Build());
 }