PageRenderTime 16ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/MM.Web/bin/hibernate.cfg.xml

#
XML | 13 lines | 13 code | 0 blank | 0 comment | 0 complexity | 232c9a95220d728c3aedc9fe1daf8ca9 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8" ?>
 2<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
 3  <session-factory>
 4    <property name="connection.provider">NHibernate.Connection.DriverConnectionProvider, NHibernate</property>
 5    <property name='proxyfactory.factory_class'>NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property>
 6    <property name="connection.connection_string">
 7      Server=(local);initial catalog=MovieManager;Integrated Security=true
 8    </property>
 9    <property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property>
10    <property name="current_session_context_class">web</property>
11    <mapping assembly="MM.Persistence.NH"/>
12  </session-factory>
13</hibernate-configuration>