Created
December 16, 2010 13:24
-
-
Save johnathan-sewell/743390 to your computer and use it in GitHub Desktop.
NHibernate Configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> | |
<session-factory> | |
<property name="connection.connection_string_name">MyApplication</property> | |
<property name="dialect">NHibernate.Dialect.MsSql2008Dialect</property> | |
<property name="connection.connection_string">Server=(local);initial catalog=Database1;User Id=User1;Password=Password;</property> | |
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property> | |
<property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property> | |
<property name="show_sql">true</property> | |
<property name='proxyfactory.factory_class'>NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property> | |
<mapping assembly="My.Application"/> | |
</session-factory> | |
</hibernate-configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment