Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: dcdd99827c

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
Properties
DbSession.cs
DbSessionFactory.cs
NHibernateHelper.cs
NHibernateImpl.csproj
Repository.cs
hibernate.cfg.xml
nhibernate-configuration.xsd
nhibernate-mapping.xsd
packages.config
readme.txt

readme.txt

This is an implementation of the generic database / repository infrastrcuture. By
using this implementation you encapsulate the implementation details of the 
database and the ORM. This encapsulation allows the database to be faked for
testing purposes. This solution contains a fake db implementation in a separate
project. To complete this NHibernate implementation:

Simply create a configuration file for NHibernate and add it to your project.

The constructor of the IDbSessionFactory implementation takes an Assembly
that contains the NHibernate mapping resources. Look at the tests for an
example.
Something went wrong with that request. Please try again.