Пример #1
0
        internal static SqlExpr ParameterName(string name)
        {
            SqlExpr exp = new SqlExpr().Next(name.SqlParameterName());

            exp.AddParam(name, null);
            return(exp);
        }
Пример #2
0
        internal static SqlExpr AddParameter(string columnName, string parameterName)
        {
            SqlExpr exp = new SqlExpr()
                          .Next("[" + columnName + "]")
                          .Next("=")
                          .Next(parameterName.SqlParameterName());

            exp.AddParam(parameterName, columnName);

            return(exp);
        }