SqlKata the dotnet SQL query builder

https://sqlkata.com/

An elegant Query Builder and Executor helps you deal with SQL queries in an elegant and predictable way.

Written in C#, the language we all love, you can check the source code on SqlKata on Github

It uses parameter binding technique to protect your application against SQL injection attacks. There is no need to clean strings being passed as bindings.

In addition to protection against SQL injection attacks, this technique speeds up your query execution by letting the SQL engine caches and reuses the same query plan even if the parameters are changed.

고인물이라 DB퍼스트로만 작업하다보니 EF에 적응하지 못하고 Dapper를 사용하다 지금은 sqlkata를 사용합니다.

3개의 좋아요

보여주신 것과 같은 Micro ORM들이 오픈 소스 닷넷 프로젝트로 많이 공유되는 것 같은데, 한 번 정리해보는 것도 좋을 것 같네요! 공유 감사드립니다.

2개의 좋아요

좋은 툴 소개 감사드립니다(__)
언젠가 한번 저도 저런 편의기능 한번 만들고 싶다는 생각을 한 적이 있는데
(저기서 직접 쿼리까지 실행 해서 IEnumerable<object> 내지는 DataTable 로 반환하는…)
역시 세상은 넓고 저보다 부지런하시거나 또는 고수분들이 많으시군요 […]
이미 누가 만들어놓았다는걸 보니 허탈함 20% 존경 60% 역시 사람 생각은 비슷하구나 피식함 20% 입니다 ㅎㅎ

1개의 좋아요