public void Table(string tableName, Action <IRedshiftCreateTableCommandBuilder> tbl) { var builder = new RedshiftCreateTableCommandBuilder(tableName); tbl(builder); _builder = builder; }
public void ExecuteIf(Func <bool> predicate, IRedshiftBuilder cmd) { if (!predicate()) { return; } Execute(cmd); }
public void Execute(IRedshiftBuilder cmd) { Commands.Add(cmd.Build()); }