Exemplo n.º 1
0
        public string New_(string p_DNI, string p_nombre, string p_apellidos, string p_direccion, string p_telefono, string p_localidad, string p_provincia, string p_cp, System.Collections.Generic.IList <GestionVeterinariaGenNHibernate.EN.GestionVeterinaria.MascotaEN> p_mascota)
        {
            ClienteEN clienteEN = null;
            string    oid;

            //Initialized ClienteEN
            clienteEN     = new ClienteEN();
            clienteEN.DNI = p_DNI;

            clienteEN.Nombre = p_nombre;

            clienteEN.Apellidos = p_apellidos;

            clienteEN.Direccion = p_direccion;

            clienteEN.Telefono = p_telefono;

            clienteEN.Localidad = p_localidad;

            clienteEN.Provincia = p_provincia;

            clienteEN.Cp = p_cp;

            clienteEN.Mascota = p_mascota;

            //Call to ClienteCAD

            oid = _IClienteCAD.New_(clienteEN);
            return(oid);
        }
Exemplo n.º 2
0
        public string New_(string p_nif, String p_password, string p_nombre, string p_apellidos, string p_email, string p_numCuenta, Nullable <DateTime> p_fechaNac, string p_foto, string p_telefono)
        {
            ClienteEN clienteEN = null;
            string    oid;

            //Initialized ClienteEN
            clienteEN     = new ClienteEN();
            clienteEN.Nif = p_nif;

            clienteEN.Password = Utils.Util.GetEncondeMD5(p_password);

            clienteEN.Nombre = p_nombre;

            clienteEN.Apellidos = p_apellidos;

            clienteEN.Email = p_email;

            clienteEN.NumCuenta = p_numCuenta;

            clienteEN.FechaNac = p_fechaNac;

            clienteEN.Foto = p_foto;

            clienteEN.Telefono = p_telefono;

            //Call to ClienteCAD

            oid = _IClienteCAD.New_(clienteEN);
            return(oid);
        }
Exemplo n.º 3
0
        public int New_(string p_attribute)
        {
            ClienteEN clienteEN = null;
            int       oid;

            //Initialized ClienteEN
            clienteEN           = new ClienteEN();
            clienteEN.Attribute = p_attribute;

            //Call to ClienteCAD

            oid = _IClienteCAD.New_(clienteEN);
            return(oid);
        }