.NET Micro-OOM and Micro-ORM libraries. Very efficient and intuitive, convention based, delivered in tiny C# files.
is a set of small C# files that can be downloaded directly from the
page. Just make sure you get the latest bits.
The files are also available via NuGet Knak
- Knak.Mapper - Micro-OOM (~280 lines)
- Knak.Data - Micro-ORM (~800 lines)
- Knak.Data.SqlServer - To deploy Knak commands to SQL Server as stored procedures (~70 lines)
- Knak.Data.Batch - To bundle and execute Knak commands in batch (one trip) (~200 lines)
Unit Testing Included
Quick Start Tutorial
Although unit tests are a good place to start exploring the functionality of the APIs, you can find a quick start tutorial in the
page covering the most important features of Knak.
How to Use
Just download the latest source code and add the files you need to your project.
Note: The code is targeting .NET Framework 4.0 since I'm using Linq Expressions to generate dynamic methods.
Knakit and T4 Templates
Here you can download T4 templates to be used with
, a Visual Studio Tool that generates source code from SQL Server tables and stored procedures.