Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Web/hibernate.cfg.xml @ 67:c8099df941bd
Implementando persistencia con NHibernate en el proyecto web
author | nelopauselli |
---|---|
date | Thu, 19 May 2011 01:24:56 -0300 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Agendas/trunk/src/Agendas.Web/hibernate.cfg.xml Thu May 19 01:24:56 2011 -0300 @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8" ?> +<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > + <session-factory> + <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property> + <property name="connection.connection_string_name">AltNetHispano</property> + <property name="dialect">NHibernate.Dialect.MsSql2008Dialect</property> + + <property name="current_session_context_class">web</property> + <property name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property> + </session-factory> +</hibernate-configuration> \ No newline at end of file