NHibernate : Improving performance
Just add the key into App.config CODE <add key=”hibernate.default_schema” value=”trinop.dbo”/> This key will help NHibernate not to look which is the schema of the database again.
Just add the key into App.config CODE <add key=”hibernate.default_schema” value=”trinop.dbo”/> This key will help NHibernate not to look which is the schema of the database again.
MyGeneration is a tool that we can use to generate code and mapping file, that we do not to write it by yourself. 1. Download and Install program 2. Configure Database, Which I choose SQLServer 2005 Express Edition Connection String : Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;User ID=sa;Initial Catalog=<Database>;Data Source=<Server> 3. Choose online template library 4. Choose [...]
NHibernate for .NET is the project under control of Hibernate.org NHinernate handles presistent pain in .NET, it handles and help us coding easily. While you can see Nhibernate’s Architecture. Before, when we want to connect database we must write connection string and sql statement yourself, After ORM (Object Relational Mapping) releases, we do not write [...]