Commit 20f682cd authored by kmontrose's avatar kmontrose

Contrib - SqlBuilder option to add just parameters, outside of a specific clause.

parent 71a94108
......@@ -562,5 +562,12 @@ public SqlBuilder Select(string sql, dynamic parameters = null)
AddClause("select", sql, parameters, " , ", prefix: "", postfix: "\n");
return this;
}
string parameterClause = Guid.NewGuid().ToString();
public SqlBuilder AddParameters(dynamic parameters)
{
AddClause(parameterClause, "", parameters, "");
return this;
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment