Пример #1
0
        private void init(int id, string imagen, string descripcion, Nullable <DateTime> fechaCaducidad, NuevoInmueblateGenNHibernate.Enumerated.RedSocial.TipoAnuncioEnum tipo, string uRL)
        {
            this.Id = id;


            this.Imagen = imagen;

            this.Descripcion = descripcion;

            this.FechaCaducidad = fechaCaducidad;

            this.Tipo = tipo;

            this.URL = uRL;
        }
Пример #2
0
 public AnuncioEN(int id, string imagen, string descripcion, Nullable <DateTime> fechaCaducidad, NuevoInmueblateGenNHibernate.Enumerated.RedSocial.TipoAnuncioEnum tipo, string uRL
                  )
 {
     this.init(Id, imagen, descripcion, fechaCaducidad, tipo, uRL);
 }
Пример #3
0
        public int CrearAnuncio(string p_imagen, string p_descripcion, Nullable <DateTime> p_fechaCaducidad, NuevoInmueblateGenNHibernate.Enumerated.RedSocial.TipoAnuncioEnum p_tipo, string p_URL)
        {
            AnuncioEN anuncioEN = null;
            int       oid;

            //Initialized AnuncioEN
            anuncioEN        = new AnuncioEN();
            anuncioEN.Imagen = p_imagen;

            anuncioEN.Descripcion = p_descripcion;

            anuncioEN.FechaCaducidad = p_fechaCaducidad;

            anuncioEN.Tipo = p_tipo;

            anuncioEN.URL = p_URL;

            //Call to AnuncioCAD

            oid = _IAnuncioCAD.CrearAnuncio(anuncioEN);
            return(oid);
        }
Пример #4
0
        public void ModificarAnuncio(int p_oid, string p_imagen, string p_descripcion, Nullable <DateTime> p_fechaCaducidad, NuevoInmueblateGenNHibernate.Enumerated.RedSocial.TipoAnuncioEnum p_tipo, string p_URL)
        {
            AnuncioEN anuncioEN = null;

            //Initialized AnuncioEN
            anuncioEN                = new AnuncioEN();
            anuncioEN.Id             = p_oid;
            anuncioEN.Imagen         = p_imagen;
            anuncioEN.Descripcion    = p_descripcion;
            anuncioEN.FechaCaducidad = p_fechaCaducidad;
            anuncioEN.Tipo           = p_tipo;
            anuncioEN.URL            = p_URL;
            //Call to AnuncioCAD

            _IAnuncioCAD.ModificarAnuncio(anuncioEN);
        }
Пример #5
0
        public System.Collections.Generic.IList <NuevoInmueblateGenNHibernate.EN.RedSocial.AnuncioEN> FiltrarAnuncios(Nullable <DateTime> pe_fechaCaducidad, NuevoInmueblateGenNHibernate.Enumerated.RedSocial.TipoAnuncioEnum pe_tipo, string pe_url, int pe_first, int pe_size)
        {
            /*PROTECTED REGION ID(NuevoInmueblateGenNHibernate.CEN.RedSocial_Anuncio_filtrarAnuncios) ENABLED START*/

            // Write here your custom code...

            throw new NotImplementedException("Method FiltrarAnuncios() not yet implemented.");

            /*PROTECTED REGION END*/
        }