Exemple #1
0
        public static void create(Periodo p)
        {
            database db = getDataBase();

            db.Periodo.InsertOnSubmit(p);
            db.SubmitChanges();
        }
Exemple #2
0
        public static void create(Graus g)
        {
            database db = getDataBase();

            db.Graus.InsertOnSubmit(g);
            db.SubmitChanges();
        }
Exemple #3
0
        public static void create(Disciplina d)
        {
            database db = getDataBase();

            db.Disciplina.InsertOnSubmit(d);
            db.SubmitChanges();
        }