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