1 person following this project (follow)

Project Description
This is a simple Library with classes for easy multithreaded/parallel access of SQL-DataResources.
Currently access of Oledb, Odbc, SqLite and SqlServer is supported.

Its developed entirely in c#, and wraps around ADO.net to remove the tedious boilerplate code.

Here's an example for reading Data:

//Creating the database-interface
var db = new MtSqLiteDb(connectionString, 1);

//Reading all Rows from Article table
db.ExecuteReader("SELECT id,name FROM Article", (cols, rw) =>
{
var id = rw.Get<long>("id", cols);
var name = rw.Get<string>("name", cols);
var wclass = rw.Get<ArticleWeightClass>("weightclass", cols);
Console.WriteLine(string.Format("ID: {0} | Name: {1} | Weight Class: {2}", id, name, wclass));
return true;
});

A release will be added soon, when testing is finished. Meanwhile, please download the source code and compile for yourself.

Last edited Mar 31 2011 at 6:40 PM by Vertigo177, version 3