Exemplo n.º 1
0
 public static void AddClient(CLIENT client)
 {
     DBEF.CLIENT.Add(client);
     DBEF.SaveChanges();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deletes a CLIENT from database.
 /// </summary>
 public static void DeleteClient(CLIENT client)
 {
     DBEF.CLIENT.Remove(client);
     DBEF.SaveChanges();
 }