Chapter 2. Configuration and Schema

In this chapter, we will cover the following topics:

  • Configuring NHibernate with App.config
  • Configuring NHibernate with hibernate.cfg.xml
  • Configuring NHibernate with code
  • Configuring NHibernate with Fluent NHibernate
  • Configuring NHibernate using ConfORM Mappings
  • Configuring NHibernate logging
  • Reducing application startup time
  • Generating the database
  • Scripting the database
  • Using NHibernate Schema Tool

Introduction

NHibernate provides an incredible number of configuration options and settings. The recipes in this chapter demonstrate several methods for configuring NHibernate and generating the necessary database schema.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.228.138