NPersistence - .NET Persistence API

NPersistence tutorial - Console application

You are here

The following guide explains how to create a small console application project – "Hello NPersistence", which manages one persistence class.

"Hello NPersistence"
In this sample console application we will set up one persistent class and the NPersistence configuration file. We use the MySql database in which we create the table to which the persistent class will be mapped to.


• Download and install MySql databaseThe sample application uses the mySql.dll and other configuration parameters. You may use any other DB as long as you set the required dll and parameters.

• Downlaod and install Microsoft Visual C# 2010 Express edition. This tutorial shows how to create a console application using the Microsoft Visual C# 2010 Express edition development environment.

Next: step1 - Download NHibernate-NPA