Exemplo n.º 1
0
 public List <CargoWaysLock> GetCargoWaysLocks()
 {
     using (DevEntities context = new DevEntities())
     {
         return(context.CargoWaysLock.ToList());
     }
 }
Exemplo n.º 2
0
 public List <MapDictionary> GetMapDictionary()
 {
     using (DevEntities context = new DevEntities())
     {
         return(context.MapDictionary.ToList());
     }
 }
Exemplo n.º 3
0
 public List <MapItems> GetMapItems()
 {
     using (DevEntities context = new DevEntities())
     {
         return(context.MapItems.ToList());
     }
 }
Exemplo n.º 4
0
 public List <Zone> GetZone()
 {
     using (DevEntities context = new DevEntities())
     {
         return(context.Zone.ToList());
     }
 }
Exemplo n.º 5
0
 public List <Types> GetTypes()
 {
     using (DevEntities context = new DevEntities())
     {
         return(context.Types.ToList());
     }
 }
Exemplo n.º 6
0
 public List <Rails> GetRails()
 {
     using (DAL.DevEntities context = new DevEntities())
     {
         return(context.Rails.ToList());
     }
 }
Exemplo n.º 7
0
 public List <SpecialConnection> GetSpecialConnections()
 {
     using (DevEntities context = new DevEntities())
     {
         return(context.SpecialConnection.ToList());
     }
 }
Exemplo n.º 8
0
 public List <Goods> GetGoods()
 {
     using (DevEntities context = new DevEntities())
     {
         return(context.Goods.ToList());
     }
 }
Exemplo n.º 9
0
 public void UpdateMapItem(List <MapItems> MapItems)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkUpdate(MapItems);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 10
0
 public void InsertMapItems(List <MapItems> MapItems)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkInsert(MapItems);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 11
0
 public void UpdateTypes(List <Types> updateList)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkUpdate(updateList);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 12
0
 public void UpdateGoods(List <Goods> Goods)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkUpdate(Goods);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 13
0
 public void UpdateSpecialConnections(List <SpecialConnection> update)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkUpdate(update);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 14
0
 public void InsertSpecialConnections(List <SpecialConnection> insert)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkInsert(insert);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 15
0
 public void DeleteSpecialConnections(List <SpecialConnection> delete)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkDelete(delete);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 16
0
 public void UpdateZone(List <Zone> Zones)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkUpdate(Zones);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 17
0
 public void InsertZone(List <Zone> Zones)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkInsert(Zones);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 18
0
 public void DeleteCargoWaysLocks(List <CargoWaysLock> delete)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkDelete(delete);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 19
0
 public void InsertGoods(List <Goods> Goods)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkInsert(Goods);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 20
0
 public void UpdateRails(List <Rails> rails)
 {
     using (DAL.DevEntities context = new DevEntities())
     {
         context.BulkUpdate(rails);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 21
0
 public void DeleteRails(List <Rails> todel)
 {
     using (DAL.DevEntities context = new DevEntities())
     {
         context.BulkDelete(todel);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 22
0
 public void InsertMapDictionary(List <MapDictionary> mapDictionaries)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkInsert(mapDictionaries);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 23
0
 public void InsertRails(List <Rails> toadd)
 {
     using (DAL.DevEntities context = new DevEntities())
     {
         context.BulkInsert(toadd);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 24
0
 public void InsertTypes(List <Types> insertList)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkInsert(insertList);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 25
0
 public void InsertCargoWaysLocks(List <CargoWaysLock> addition)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkInsert(addition);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 26
0
 public void UpdateCargoWaysLocks(List <CargoWaysLock> update)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkUpdate(update);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 27
0
 public void UpdateMapDictionary(List <MapDictionary> mapDictionaries)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkUpdate(mapDictionaries);
         context.BulkSaveChanges();
     }
 }
Exemplo n.º 28
0
 public void DeleteTypes(List <Types> delList)
 {
     using (DevEntities context = new DevEntities())
     {
         context.BulkDelete(delList);
         context.BulkSaveChanges();
     }
 }