Example #1
0
        public UpdateCommand AppendSet(string colname, object value)
        {
            string argname = $"@arg{SetExps.Count}";

            colname = Utils.SafetyEntityName(colname);
            SetExps.Add($"{colname} = {argname}");
            Parameters.Add(argname, value);
            return(this);
        }
Example #2
0
 public UpdateCommand AppendSet(string exp)
 {
     SetExps.Add(exp);
     return(this);
 }