Mercurial > altnet-hispano
diff Agendas/trunk/src/Agendas.Domain/Track.cs @ 63:963b71ea6028
Repositorios con NH
author | nelopauselli |
---|---|
date | Tue, 17 May 2011 14:02:25 -0300 |
parents | 37d99d239cae |
children | c7264bfc4b71 |
line wrap: on
line diff
--- a/Agendas/trunk/src/Agendas.Domain/Track.cs Tue May 17 01:55:19 2011 -0300 +++ b/Agendas/trunk/src/Agendas.Domain/Track.cs Tue May 17 14:02:25 2011 -0300 @@ -2,14 +2,19 @@ { public class Track { + protected Track() + { + //ctor para NHibernate + } + public Track(Accion accion) { Usuario = IdentityContext.GetUserName(); Accion = accion; } - public Accion Accion { get; private set; } - protected string Usuario { get; private set; } + public virtual Accion Accion { get; private set; } + protected virtual string Usuario { get; private set; } } public enum Accion