Esempio n. 1
0
        /// <summary>
        /// Retourne toutes les notes
        /// </summary>
        /// <returns>Liste d'entités <see cref="Note"/></returns>
        public List <Note> GetAllNotes()
        {
            NoteQuery   query  = new NoteQuery(monContexte);
            List <Note> result = query.GetAll();

            return(result);
        }
Esempio n. 2
0
        /// <summary>
        /// Récupérer une liste de note en base
        /// </summary>
        /// <returns>Liste de Note</returns>
        public List <Note> GetAllNote()
        {
            NoteQuery nq = new NoteQuery(contexte);

            return(nq.GetAll().ToList());
        }
Esempio n. 3
0
        public List <Note> GetNotesByEleve(int eleveId)
        {
            NoteQuery query = new NoteQuery(_monContexte);

            return(query.GetAll().ToList());
        }