About

PM> Install-Package MicroLite

MicroLite ORM is a micro Object Relational Mapper for the .NET framework. It is designed to be easy to use, extensible and testable.

The code is all open source, released under the Apache License, Version 2.0 and the repository is hosted on GitHub.

There are builds available for .NET 3.5 (Client Profile), .NET 4.0 (Client Profile) and .NET 4.5 on NuGet.

If you haven’t already, read the getting started guide on the MicroLite GitHub Wiki.

If you have any questions about using MicroLite, please ask on StackOverflow (please provide the version of MicroLite you are using).

If you come across any bugs or have any feature requests, please use the GitHub issues page.

Project Support

YourKit is kindly supporting open source projects with its full-featured Java Profiler.
YourKit, LLC is the creator of innovative and intelligent tools for profiling
Java and .NET applications. Take a look at YourKit’s leading software products:
YourKit Java Profiler and
YourKit .NET Profiler.

PoweredByNDependLogo

9 thoughts on “About

  1. David

    Hi Trevor,

    I’ve been trying to find an ORM that will support unit testing the database code without a database. Does MicroLite make it possible to unit test Fetch(sql)? As a very simple example, if I have a method that returns records using Fetch and a sql query based on a Code field. I want to write a test that creats 2 records with different codes. Then I call my method which returns a single record. Is this possible?

    Thanks
    David

    Reply
      1. David Reynolds

        I have event and query handlers that use an ORM directly without a repository or other abstraction. I’d like to able to test these handlers without requiring a real database. To test that they create and try to save the correct dtos, that the queries build a set of objects correctly for a given “dataset”, etc. With EF I could mock the dbset but this sort of thing doesn’t seem possible with the micro orms.

Leave a reply to trevorpilley Cancel reply