This NHibernate example is to illustrate how to use a UnitOfWork pattern for NHibernate as well as to simplify the database setup to be used across multiple databases.
-
Make sure you have NuGet installed.
-
Open up the Package Manager Console 'Tools --> Library Package Manager --> Package Manager Console'.
-
Install the NuGet Power Tools
PM> Install-Package NuGetPowerTools
-
Enable Package Restore
PM> Enable-PackageRestore
-
Build the solution.