Exemplo n.º 1
0
 public void Add(SpryParameters parameters)
 {
     if (parameters != null && parameters._parameters.Any())
     {
         _parameters.AddRange(parameters._parameters);
     }
 }
Exemplo n.º 2
0
 public TColType ExecuteScalar <TColType>(IDbConnection connection, CommandType commandType = CommandType.Text, SpryParameters parameters = null)
 {
     return(connection.ExecuteScalar <TColType>(_query, parameters, commandType: commandType));
 }
Exemplo n.º 3
0
 public IEnumerable <dynamic> Query(IDbConnection connection, CommandType commandType = CommandType.Text, SpryParameters parameters = null)
 {
     return(connection.Query(_query, parameters, commandType: commandType));
 }
Exemplo n.º 4
0
 public int Execute(IDbConnection connection, CommandType commandType = CommandType.Text, SpryParameters parameters = null)
 {
     return(connection.Execute(_query, parameters, commandType: commandType));
 }