Skip to content
This repository has been archived by the owner on Dec 29, 2020. It is now read-only.
TrevorPilley edited this page Jun 26, 2012 · 35 revisions

Welcome to the MicroLite wiki!

Ok, what is it?

MicroLite is a small lightweight ORM framework which falls into the Micro ORM category.

Do we really need another?

There are already a number of other Micro ORM frameworks (Dapper, Massive, PetaPoco etc) however when looking at using them I couldn't find one that actually worked how I wanted. The principles behind MicroLite are that:

  • It should be simple to configure.
  • Code using it should be easily testable in isolated unit tests.
  • It should not use any external dependencies outside the .net base class libraries.
  • It should be extensible, allowing users to choose how it interacts with other frameworks (for example logging).
  • You shouldn't have to inherit from any MicroLite classes or implement any MicroLite interfaces.
  • It should be simple to map classes to tables without having complicated and hard to maintain XML documents.

How does it work?

MicroLite uses the concept of a database session ISession, this is the main API that you will use. It exposes the CRUD (Create, Read, Update and Delete) operations. All queries are written as parametrised SQL. The configuration uses a fluent interface to walk you through the configuration process.

Please note: MicroLite currently only supports Microsoft SQL Server

To find out more, follow the Getting Started guide.

MicroLite is also designed for extension. To find out more, check out the Extensions guide.

Release notes

MicroLite is powered by NDepend

Clone this wiki locally