Exemplo n.º 1
0
        public bool ExisteNombreUsuario(string nombreUsuario)
        {
            Datos.Alumnos oDatos;

            try
            {
                oDatos = new Datos.Alumnos();
                return oDatos.ExisteNombreUsuario(nombreUsuario);
            }

            finally
            {
                oDatos = null;
            }
        }
Exemplo n.º 2
0
        public void Modificar(Entidades.Alumno item)
        {
            Datos.Alumnos oDatos;

            try
            {
                oDatos = new Datos.Alumnos();
                oDatos.Modificar(item);
            }

            finally
            {
                oDatos = null;
            }
        }
Exemplo n.º 3
0
        public bool ExisteLegajo(int legajo)
        {
            Datos.Alumnos oDatos;

            try
            {
                oDatos = new Datos.Alumnos();
                return oDatos.ExisteLegajo(legajo);
            }

            finally
            {
                oDatos = null;
            }
        }
Exemplo n.º 4
0
        public void Borrar(int Legajo)
        {
            Datos.Alumnos oDatos;

            try
            {
                oDatos = new Datos.Alumnos();
                oDatos.Borrar(Legajo);
            }

            finally
            {
                oDatos = null;
            }
        }
Exemplo n.º 5
0
        public int Agregar(Entidades.Alumno item)
        {
            Datos.Alumnos oDatos;

            try
            {
                oDatos = new Datos.Alumnos();
                return oDatos.Agregar(item);
            }

            finally
            {
                oDatos = null;
            }
        }
Exemplo n.º 6
0
        public Entidades.Alumnos RecuperarUno(int id)
        {
            Datos.Alumnos oDatos;

            try
            {
                oDatos = new Datos.Alumnos();
                return oDatos.RecuperarUno(id);
            }

            finally
            {
                oDatos = null;
            }
        }
Exemplo n.º 7
0
        public void ModificarUsuario(int legajo, string nombre_usuario, string password)
        {
            Datos.Alumnos oDatos;

            try
            {
                oDatos = new Datos.Alumnos();
                oDatos.ModificarUsuario(legajo, nombre_usuario, password);
            }

            finally
            {
                oDatos = null;
            }
        }