- NHibernate - Fluent Hibernate
- NHibernate - Native Sql
- NHibernate - QueryOver Queries
- NHibernate - Criteria Queries
- NHibernate - Query Language
- NHibernate - Linq
- NHibernate - Load/Get
- NHibernate - Inverse Relationships
- NHibernate - Lazy Loading
- NHibernate - Cascades
- NHibernate - Collection Mapping
- NHibernate - Relationships
- NHibernate - Mapping Component
- NHibernate - Caching
- NHibernate - Batch Size
- NHibernate - Override Configuration
- NHibernate - Configuration
- NHibernate - Data Types Mapping
- Add Intelliesnse To Mapping File
- NHibernate - Profiler
- NHibernate - Basic Crud Operations
- NHibernate - Basic Orm
- NHibernate - Getting Started
- NHibernate - Environment Setup
- NHibernate - Orm
- NHibernate - Architecture
- NHibernate - Overview
- NHibernate - Home
NHibernate Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Add IntelpSense To Mapping File
In this chapter, we will add IntelpSense to our NHibernate mapping files (*.hbm.xml files). As you have observed while mapping the domain Student class that currently we don’t have IntelpSense available. It’s very useful to have the XML schemas available. So in this chapter you will understand how to add IntelpSense in Visual Studio for these NHibernate XML files.
Open the mapping file and you will see that XML menu option appears in the main menu.
Select the XML → Schemas… menu option and it will display the XML Schemas dialog box.
Select the Add… button which is on the top right of the dialog box, which opens the file dialog. Now go to the packages folder, which is in the Solution folder of your project and you will see the different packages included in your project.
Now, double-cpck on NHibernate.4.*** folder and you will see the two schemas (*.xsd) files or XML schema definition files that define the NHibernate configuration and mapping.
Select these two schema files and cpck Open button.
You can see that the NHibernate schemas are added into the XML Schemas dialog. Cpck the OK button. Now, let’s start a new property tag and you will see that we ve got full IntelpSense on here.
IntelpSense is now available for you which saves a lot of time during object-relational mapping.
Advertisements