Alex Rivera | Logout

Lightweight alternatives to NHibernate

Asked 2008-09-18T06:45:53.010
16

NHibernate is not really a good fit for our environment due to all the dependencies. (Castle, log4net etc.)

Is there a good lightweight alternative?

Support for simple file based databases such as Access/SQLite/VistaDB is essential.

Ideally, something contained in a single assembly that only references .NET assemblies. If it only requires .NET framework 2.0 or 3.0 that is a bonus.

Edit
Report

1 Answer

2

Generally speaking, for your database backend to work with .net you need an ADO.Net provider for it.

For MS Access (Jet), the Provider is shipped with .net. For SQLite, there is a selfcontained ADO.Net Provider.

As for the data access layer lib, if you want some abstraction over ADO.Net:

All those work well starting with framework 2.0 and up.

Basically, you choose (and there is a lot of choices)

answered 2008-09-18T06:59:49.527

Your Answer