示例#1
0
 public void AddSpeedCategory(Staging_SpeedCategory speedCategory)
 {
     using (var ctx = new AGVStagingContext())
     {
         ctx.Staging_SpeedCategory.Add(speedCategory);
         ctx.SaveChanges();
     }
 }
示例#2
0
 public void AddAlertDescription(Staging_AlertDescription alertDescription)
 {
     using (var ctx = new AGVStagingContext())
     {
         ctx.Staging_AlertDescription.Add(alertDescription);
         ctx.SaveChanges();
     }
 }
示例#3
0
 public void AddCustomer(Staging_Customer customer)
 {
     using (var ctx = new AGVStagingContext())
     {
         ctx.Staging_Customer.Add(customer);
         ctx.SaveChanges();
     }
 }
示例#4
0
 public void AddAGV(Staging_AGV agv)
 {
     using (var ctx = new AGVStagingContext())
     {
         ctx.Staging_AGV.Add(agv);
         ctx.SaveChanges();
     }
 }
示例#5
0
 public void AddAlert(Staging_Alert alert)
 {
     using (var ctx = new AGVStagingContext())
     {
         ctx.Staging_Alert.Add(alert);
         ctx.SaveChanges();
     }
 }