public void DeleteMapDictionary(List <MapDictionary> mapDictionaries) { using (DevEntities context = new DevEntities()) { context.BulkDelete(mapDictionaries); context.BulkSaveChanges(); } }
public void DeleteGoods(List <Goods> Goods) { using (DevEntities context = new DevEntities()) { context.BulkDelete(Goods); context.BulkSaveChanges(); } }
public void DeleteRails(List <Rails> todel) { using (DAL.DevEntities context = new DevEntities()) { context.BulkDelete(todel); context.BulkSaveChanges(); } }
public void DeleteMapItem(List <MapItems> MapItems) { using (DevEntities context = new DevEntities()) { context.BulkDelete(MapItems); context.BulkSaveChanges(); } }
public void DeleteCargoWaysLocks(List <CargoWaysLock> delete) { using (DevEntities context = new DevEntities()) { context.BulkDelete(delete); context.BulkSaveChanges(); } }
public void DeleteSpecialConnections(List <SpecialConnection> delete) { using (DevEntities context = new DevEntities()) { context.BulkDelete(delete); context.BulkSaveChanges(); } }
public void DeleteZone(List <Zone> Zones) { using (DevEntities context = new DevEntities()) { context.BulkDelete(Zones); context.BulkSaveChanges(); } }
public void DeleteTypes(List <Types> delList) { using (DevEntities context = new DevEntities()) { context.BulkDelete(delList); context.BulkSaveChanges(); } }