<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration  xmlns="urn:nhibernate-configuration-2.0" >
       
<session-factory>
              
<!-- properties -->
              
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
              
<property name="connection.driver_class">NHibernate.Driver.FirebirdDriver</property>
              
<property name="connection.connection_string">Server=localhost;Database=D:\Test\Test.FDB;User=SYSDBA;Password=masterkey;dialect=3</property>
              
<property name="show_sql">true</property>
              
<property name="dialect">NHibernate.Dialect.FirebirdDialect</property>
       
</session-factory>
</hibernate-configuration>

SQL Server配置示例
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration  xmlns="urn:nhibernate-configuration-2.0" >
       
<session-factory>
              
<!-- properties -->
              
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
              
<property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
              
<property name="connection.connection_string">Data Source=localhost;Initial Catalog=TEST;Integrated Security=True</property>
              
<property name="show_sql">true</property>
              
<property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property>
             

       
</session-factory>
</hibernate-configuration>