예제 #1
0
 public static void InsertPersonne(Personne p)
 {
     using (var db = new MineBricksContext())
     {
         db.Add(p);
         db.SaveChanges();
     }
 }
예제 #2
0
 public static void CreateAdresse(Adresse adresse)
 {
     using (var db = new MineBricksContext())
     {
         db.Add(adresse);
         db.SaveChanges();
     }
 }
예제 #3
0
 public static void AddConge(Conges conges)
 {
     using (var db = new MineBricksContext())
     {
         db.Add(conges);
         db.SaveChanges();
     }
 }
예제 #4
0
 public static void AddTypeConges(TypeConges typeConges)
 {
     using (var db = new MineBricksContext())
     {
         db.Add(typeConges);
         db.SaveChanges();
     }
 }