Skip to content

ctigeek/QueryHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QueryHelper

This project was moved from CSharpQueryHelper. It's now a library & nuget package. I renamed it to be more language agnostic.

Nuget page: https://www.nuget.org/packages/QueryHelper/

QueryHelper is a small lightweight library that utilizes functional constructs to help you run queries. It manages all your sql connections, commands, parameters, and transactions.

All you do is supply:

  1. a connection string.
  2. some SQL.

And the QueryHelper manages the connection, command, reader, and transaction.

It's fully mockable so unit testing is a breeze (especially compared with mocking a DbCommand!)

Sample code including unit tests: https://github.com/ctigeek/QueryHelper/tree/master/Example

About

The anti-orm database query tool. You give it SQL, it handles everything else.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors