view 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 source

<?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>