Statistics
| Branch: | Revision:

root / trunk / packages / NHibernate.3.1.0.4000 / lib / Net35 / NHibernateXmlConfigurationTemplates / FireBird.cfg.xml @ eeee29e3

History | View | Annotate | Download (1.4 kB)

1
<?xml version="1.0" encoding="utf-8" ?>
2
<!--
3
To work with FireBird you must add the assembly binding for FirebirdClient ADO.NET 2.0 DataProvider
4
to your App.config.
5
Example:
6
<runtime>
7
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
8
        <qualifyAssembly partialName="FirebirdSql.Data.FirebirdClient" fullName="FirebirdSql.Data.FirebirdClient, Version=2.0.1.0, Culture=neutral, PublicKeyToken=3750abcc3150b00c" />
9
</assemblyBinding>
10
</runtime>
11
-->
12
<!-- 
13
This template was written to work with NHibernate.Test.
14
Copy the template to your NHibernate.Test project folder and rename it in hibernate.cfg.xml and change it 
15
for your own use before compile tests in VisualStudio.
16
-->
17
<hibernate-configuration  xmlns="urn:nhibernate-configuration-2.2" >
18
        <session-factory name="NHibernate.Test">
19
                <property name="connection.driver_class">NHibernate.Driver.FirebirdClientDriver</property>
20
                <property name="connection.connection_string">
21
                        Server=localhost;
22
                        Database=C:\nhibernate.fdb;
23
                        User=SYSDBA;Password=masterkey
24
                </property>
25
                <property name="show_sql">false</property>
26
                <property name="dialect">NHibernate.Dialect.FirebirdDialect</property>
27
                <property name="command_timeout">60</property>
28
                <property name="query.substitutions">true 1, false 0, yes 1, no 0</property>
29
                <property name="proxyfactory.factory_class">NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu</property>
30
        </session-factory>
31
</hibernate-configuration>