Exemple #1
0
        public void Modify(int p_NotificacionGenerica_OID, LePapeoGenNHibernate.Enumerated.LePapeo.TipoNotificacionEnum p_tipo, string p_texto, string p_nombre)
        {
            NotificacionGenericaEN notificacionGenericaEN = null;

            //Initialized NotificacionGenericaEN
            notificacionGenericaEN        = new NotificacionGenericaEN();
            notificacionGenericaEN.Id     = p_NotificacionGenerica_OID;
            notificacionGenericaEN.Tipo   = p_tipo;
            notificacionGenericaEN.Texto  = p_texto;
            notificacionGenericaEN.Nombre = p_nombre;
            //Call to NotificacionGenericaCAD

            _INotificacionGenericaCAD.Modify(notificacionGenericaEN);
        }
Exemple #2
0
        public int New_(LePapeoGenNHibernate.Enumerated.LePapeo.TipoNotificacionEnum p_tipo, string p_texto, string p_nombre)
        {
            NotificacionGenericaEN notificacionGenericaEN = null;
            int oid;

            //Initialized NotificacionGenericaEN
            notificacionGenericaEN      = new NotificacionGenericaEN();
            notificacionGenericaEN.Tipo = p_tipo;

            notificacionGenericaEN.Texto = p_texto;

            notificacionGenericaEN.Nombre = p_nombre;

            //Call to NotificacionGenericaCAD

            oid = _INotificacionGenericaCAD.New_(notificacionGenericaEN);
            return(oid);
        }
Exemple #3
0
        private void init(int id
                          , System.Collections.Generic.IList <LePapeoGenNHibernate.EN.LePapeo.NotificacionEN> notificacion, LePapeoGenNHibernate.Enumerated.LePapeo.TipoNotificacionEnum tipo, string texto, string nombre)
        {
            this.Id = id;


            this.Notificacion = notificacion;

            this.Tipo = tipo;

            this.Texto = texto;

            this.Nombre = nombre;
        }
Exemple #4
0
 public NotificacionGenericaEN(int id, System.Collections.Generic.IList <LePapeoGenNHibernate.EN.LePapeo.NotificacionEN> notificacion, LePapeoGenNHibernate.Enumerated.LePapeo.TipoNotificacionEnum tipo, string texto, string nombre
                               )
 {
     this.init(Id, notificacion, tipo, texto, nombre);
 }