Пример #1
0
 public void DeleteVsbMysong(VsbMysong VsbForDelete)
 {
     VsbMysongItems.Remove(VsbForDelete);
     VsbDB.VsbMysongItem.DeleteOnSubmit(VsbForDelete);
     VsbMysongItems.Remove(VsbForDelete);
     VsbDB.SubmitChanges();
 }
Пример #2
0
 public void AddVsbMysong(VsbMysong VsbToAdd)
 {
     VsbDB.VsbMysongItem.InsertOnSubmit(VsbToAdd);
     VsbDB.SubmitChanges();
 }