Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Repositories.Tests/Infraestructure/NhHelperTest.cs @ 287:eeca9ddb330a
BUG: Los Patrocinadores quedaban asociados a un único evento. Se armó un test que lo demuestra y se modificó el modelo de la base de datos.
author | juanjose.montesdeocaarbos |
---|---|
date | Mon, 02 Jan 2012 19:44:41 -0300 |
parents | bc8dfbde0523 |
children |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Repositories.Tests/Infraestructure/NhHelperTest.cs Mon Jan 02 15:51:19 2012 -0300 +++ b/Agendas/trunk/src/Agendas.Repositories.Tests/Infraestructure/NhHelperTest.cs Mon Jan 02 19:44:41 2012 -0300 @@ -10,8 +10,10 @@ var session = sf.OpenStatelessSession(); session.CreateSQLQuery("DELETE FROM Ponentes").ExecuteUpdate(); + session.CreateSQLQuery("DELETE FROM Patrocinadores").ExecuteUpdate(); + session.CreateSQLQuery("DELETE FROM Evento").ExecuteUpdate(); session.CreateSQLQuery("DELETE FROM Patrocinador").ExecuteUpdate(); - session.CreateSQLQuery("DELETE FROM Evento").ExecuteUpdate(); + session.CreateSQLQuery("DELETE FROM Roles").ExecuteUpdate(); session.CreateSQLQuery("DELETE FROM Persona").ExecuteUpdate(); } }