Skip to main content

Posts

NHibernate sample web Application

step 0->  Create a database(Example:Employee),  And a Table(Example:tbl_contact )    step 1->   add references as follows step 2->  then open visual studio webapplication(name for example: WebApplication1) step 2.1-> Add a Class for storing business objects as follows   public class Contactss     {         private int _contactId;         private string _firstName;         private string _lastName;         private string _email;         private string _telephone;         public virtual int ContactId         {             get { return _contactId; }           ...