comparison Agendas/trunk/src/Agendas.NHibernate/NhHelper.cs @ 274:72a96459f910

Ticket #123: Patrocinadores de las vans.
author juanjose.montesdeocaarbos
date Wed, 30 Nov 2011 08:56:01 -0300
parents c61954d24c8c
children eeca9ddb330a
comparison
equal deleted inserted replaced
273:a7420f05716a 274:72a96459f910
39 orm.ManyToMany<Evento, Persona>(); 39 orm.ManyToMany<Evento, Persona>();
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 45
46 orm.Cascade<Evento, Persona>(Cascade.None); 46 orm.Cascade<Evento, Persona>(Cascade.None);
47 orm.Cascade<Persona, Evento>(Cascade.None); 47 orm.Cascade<Persona, Evento>(Cascade.None);
48 48
49 orm.Cascade<Persona, Cuenta>(Cascade.All | Cascade.DeleteOrphans); 49 orm.Cascade<Persona, Cuenta>(Cascade.All | Cascade.DeleteOrphans);