Пример #1
0
 public int Execute(IDbConnection connection, CommandType commandType = CommandType.Text, SpryParameters parameters = null)
 {
     Parameters.Add(parameters);
     return(new SqlExecutor(Build()).Execute(connection, commandType, Parameters));
 }
Пример #2
0
 public TTable EqualTo(TProperty value)
 {
     _parameters.Add(_columnParameterName, value);
     _whereBuilder.AppendFormat(@"{0} = @{1}", _columnName, _columnParameterName);
     return(_table);
 }
Пример #3
0
 private void InsertValueImpl(string columnName, object value)
 {
     _parameters.Add(columnName, value);
     _insertColumnBuilder.Append(columnName + ", ");
     _insertValueBuilder.Append("@" + columnName + ", ");
 }