Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.NHibernate/NhHelper.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 | 72a96459f910 |
children |
comparison
equal
deleted
inserted
replaced
286:a8f7c41e3b47 | 287:eeca9ddb330a |
---|---|
40 | 40 |
41 orm.TablePerClass<Track>(); | 41 orm.TablePerClass<Track>(); |
42 orm.TablePerClass<TrackLog>(); | 42 orm.TablePerClass<TrackLog>(); |
43 orm.TablePerClass<Cuenta>(); | 43 orm.TablePerClass<Cuenta>(); |
44 orm.TablePerClass<Patrocinador>(); | 44 orm.TablePerClass<Patrocinador>(); |
45 orm.ManyToMany<Evento, Patrocinador>(); | |
45 | 46 |
46 orm.Cascade<Evento, Persona>(Cascade.None); | 47 orm.Cascade<Evento, Persona>(Cascade.None); |
47 orm.Cascade<Persona, Evento>(Cascade.None); | 48 orm.Cascade<Persona, Evento>(Cascade.None); |
48 | 49 |
49 orm.Cascade<Persona, Cuenta>(Cascade.All | Cascade.DeleteOrphans); | 50 orm.Cascade<Persona, Cuenta>(Cascade.All | Cascade.DeleteOrphans); |