Exemplo n.º 1
0
        public bool Agregar(ClsIndicador indicador)
        {
            string fila = indicador.Id.ToString() + " , " + indicador.CriterioId + " , " + indicador.Calificacion;

            ClsNFichero.Agregar(fila, "indicadores.txt");
            return(true);
        }
Exemplo n.º 2
0
        public bool Agregar(ClsEstudiante estudiante)
        {
            string lina = estudiante.Id.ToString() + " , " + estudiante.Nombres + " , " + estudiante.Apellidos + " , " + estudiante.Sexo + " , " + estudiante.Correo + estudiante.Estado;

            ClsNFichero.Agregar(lina, "estudiantes.txt");
            return(true);
        }
Exemplo n.º 3
0
        public bool Agregar(ClsUsuario obj)
        {
            string linea = obj.Id.ToString() + "," + obj.Codigo + "," + obj.Clave + "," + obj.Nivel + "," + obj.Estado;

            ClsNFichero.Agregar(linea, "usuarios.txt");
            return(true);
        }
Exemplo n.º 4
0
        public bool Agregar(ClsSemestre semestre)
        {
            string lina = semestre.Id.ToString() + " , " + semestre.Nombre + " , " + semestre.Estado;

            ClsNFichero.Agregar(lina, "semestres.txt");
            return(true);
        }
Exemplo n.º 5
0
        public bool Agregar(ClsCapacidad capacidad)
        {
            string lina = capacidad.Id.ToString() + " , " + capacidad.NotaId + " , " + capacidad.Numero + " , " + capacidad.Nombre + " , " + capacidad.Calificacion + capacidad.Estado;

            ClsNFichero.Agregar(lina, "capacidades.txt");
            return(true);
        }
Exemplo n.º 6
0
        public bool Agregar(ClsCriterio criterio)
        {
            string lina = criterio.Id.ToString() + " , " + criterio.CapacidadId + " , " + criterio.Nombre + " , " + criterio.Descripcion + " , " + criterio.Calificacion + " , " + criterio.Estado;

            ClsNFichero.Agregar(lina, "criterios.txt");
            return(true);
        }
Exemplo n.º 7
0
        public bool Agregar(ClsDocente docente)
        {
            string lina = docente.Id.ToString() + " , " + docente.Nombres + " , " + docente.Apellidos + " , " + docente.Sexo + " , " + docente.Correo + docente.Estado;

            ClsNFichero.Agregar(lina, "docentes.txt");
            return(true);
        }
Exemplo n.º 8
0
        public bool Agregar(ClsCarrera carrera)
        {
            string lina = carrera.Id.ToString() + " , " + carrera.Nombre + " , " + carrera.Sigla + " , " + carrera.Turno + " , " + carrera.Estado;

            ClsNFichero.Agregar(lina, "carreras.txt");
            return(true);
        }
Exemplo n.º 9
0
        public bool Agregar(ClsModulo modulo)
        {
            string lina = modulo.Id.ToString() + " , " + modulo.Nombre + " , " + modulo.Numero + " , " + modulo.Carrera_id + " , " + modulo.Estado;

            ClsNFichero.Agregar(lina, "modulos.txt");
            return(true);
        }
Exemplo n.º 10
0
        public bool Agregar(ClsUnidad unidad)
        {
            string lina = unidad.Id.ToString() + " , " + unidad.Nombre + " , " + unidad.Codigo + " , " + unidad.Modulo_id + " , " + unidad.Estado;

            ClsNFichero.Agregar(lina, "unidades.txt");
            return(true);
        }
Exemplo n.º 11
0
        public bool Agregar(ClsNota notas)
        {
            string linea = notas.Id.ToString() + " , " + notas.Estudiante_id.ToString() + " , " + notas.Silabo_id.ToString() + " , " + notas.Calificacion + " , " + notas.Estado;

            ClsNFichero.Agregar(linea, "notas.txt");
            return(true);
        }
Exemplo n.º 12
0
        public bool Agregar(ClsSilabo silabo)
        {
            string lina = silabo.Id.ToString() + " , " + silabo.Anio + " , " + silabo.Turno + " , " + silabo.Unidad_id + " , " + silabo.Docente_id + " , " + silabo.Estado;

            ClsNFichero.Agregar(lina, "silabos.txt");
            return(true);
        }