public void AddSpeedCategory(Staging_SpeedCategory speedCategory) { using (var ctx = new AGVStagingContext()) { ctx.Staging_SpeedCategory.Add(speedCategory); ctx.SaveChanges(); } }
public void AddAlertDescription(Staging_AlertDescription alertDescription) { using (var ctx = new AGVStagingContext()) { ctx.Staging_AlertDescription.Add(alertDescription); ctx.SaveChanges(); } }
public void AddCustomer(Staging_Customer customer) { using (var ctx = new AGVStagingContext()) { ctx.Staging_Customer.Add(customer); ctx.SaveChanges(); } }
public void AddAGV(Staging_AGV agv) { using (var ctx = new AGVStagingContext()) { ctx.Staging_AGV.Add(agv); ctx.SaveChanges(); } }
public void AddAlert(Staging_Alert alert) { using (var ctx = new AGVStagingContext()) { ctx.Staging_Alert.Add(alert); ctx.SaveChanges(); } }