예제 #1
0
 public void DeleteMapDictionary(List <MapDictionary> mapDictionaries)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkDelete(mapDictionaries);
         context.BulkSaveChanges();
     }
 }
예제 #2
0
 public void DeleteGoods(List <Goods> Goods)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkDelete(Goods);
         context.BulkSaveChanges();
     }
 }
예제 #3
0
 public void DeleteRails(List <Rails> todel)
 {
     using (DAL.DevEntities context = new DevEntities())
     {
         context.BulkDelete(todel);
         context.BulkSaveChanges();
     }
 }
예제 #4
0
 public void DeleteMapItem(List <MapItems> MapItems)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkDelete(MapItems);
         context.BulkSaveChanges();
     }
 }
예제 #5
0
 public void DeleteCargoWaysLocks(List <CargoWaysLock> delete)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkDelete(delete);
         context.BulkSaveChanges();
     }
 }
예제 #6
0
 public void DeleteSpecialConnections(List <SpecialConnection> delete)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkDelete(delete);
         context.BulkSaveChanges();
     }
 }
예제 #7
0
 public void DeleteZone(List <Zone> Zones)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkDelete(Zones);
         context.BulkSaveChanges();
     }
 }
예제 #8
0
 public void DeleteTypes(List <Types> delList)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkDelete(delList);
         context.BulkSaveChanges();
     }
 }