view Agendas/trunk/src/Agendas.Web/hibernate.cfg.xml @ 83:7e9ffde4022d

Implementando DataAnnotation desde recursos y por convención
author nelopauselli
date Tue, 24 May 2011 21:37:06 -0300
parents c8099df941bd
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>