internal static SqlExpr ParameterName(string name) { SqlExpr exp = new SqlExpr().Next(name.SqlParameterName()); exp.AddParam(name, null); return(exp); }
internal static SqlExpr AddParameter(string columnName, string parameterName) { SqlExpr exp = new SqlExpr() .Next("[" + columnName + "]") .Next("=") .Next(parameterName.SqlParameterName()); exp.AddParam(parameterName, columnName); return(exp); }