// Remove an EquipmentFailure
        public void Remove(int id)
        {
            var equipmentfailureToRemove = _context.EquipmentFailure.Single(o => o.EquipmentFailureId == id);

            if (equipmentfailureToRemove != null)
            {
                _context.Remove(equipmentfailureToRemove);
                _context.SaveChanges();
            }
        }
示例#2
0
        // Remove an IT
        public void Remove(int id)
        {
            var itToRemove = _context.It.Single(o => o.Itid == id);

            if (itToRemove != null)
            {
                _context.Remove(itToRemove);
                _context.SaveChanges();
            }
        }
示例#3
0
        // Remove an Material
        public void Remove(int id)
        {
            var materialToRemove = _context.Material.Single(o => o.MaterialId == id);

            if (materialToRemove != null)
            {
                _context.Remove(materialToRemove);
                _context.SaveChanges();
            }
        }
示例#4
0
        // Remove an LoadUnload
        public void Remove(int id)
        {
            var loadunloadToRemove = _context.LoadUnload.Single(o => o.LoadUnloadId == id);

            if (loadunloadToRemove != null)
            {
                _context.Remove(loadunloadToRemove);
                _context.SaveChanges();
            }
        }
        // Remove an Calibration Alignment
        public void Remove(int id)
        {
            var calibrationalignmentToRemove = _context.CalibrationAlignment.Single(o => o.CalibrationAlignmentId == id);

            if (calibrationalignmentToRemove != null)
            {
                _context.Remove(calibrationalignmentToRemove);
                _context.SaveChanges();
            }
        }
        // Remove an NCProgramming
        public void Remove(int id)
        {
            var ncprogrammingToRemove = _context.Ncprogramming.Single(o => o.NcprogrammingId == id);

            if (ncprogrammingToRemove != null)
            {
                _context.Remove(ncprogrammingToRemove);
                _context.SaveChanges();
            }
        }
示例#7
0
        // Remove an Oee
        public void Remove(int id)
        {
            var oeeToRemove = _context.Oee.Single(o => o.Oeeid == id);

            if (oeeToRemove != null)
            {
                _context.Remove(oeeToRemove);
                _context.SaveChanges();
            }
        }
示例#8
0
        // Remove an MinorStop
        public void Remove(int id)
        {
            var minorstopToRemove = _context.MinorStop.Single(o => o.MinorStopId == id);

            if (minorstopToRemove != null)
            {
                _context.Remove(minorstopToRemove);
                _context.SaveChanges();
            }
        }
示例#9
0
        // Remove an PerformanceEfficiency
        public void Remove(int id)
        {
            var performanceefficiencyToRemove = _context.PerformanceEfficiency.Single(o => o.PerformanceEfficiencyId == id);

            if (performanceefficiencyToRemove != null)
            {
                _context.Remove(performanceefficiencyToRemove);
                _context.SaveChanges();
            }
        }
        // Remove an ReducedSpeed
        public void Remove(int id)
        {
            var reducedspeedToRemove = _context.ReducedSpeed.Single(o => o.ReducedSpeedId == id);

            if (reducedspeedToRemove != null)
            {
                _context.Remove(reducedspeedToRemove);
                _context.SaveChanges();
            }
        }
        // Remove an PersonalPlanned
        public void Remove(int id)
        {
            var personalplannedToRemove = _context.Oee.Single(o => o.Oeeid == id);

            if (personalplannedToRemove != null)
            {
                _context.Remove(personalplannedToRemove);
                _context.SaveChanges();
            }
        }
示例#12
0
        // Remove an Oee
        public void Remove(int id)
        {
            var machineToRemove = _context.Machine.Single(o => o.MachineId == id);

            if (machineToRemove != null)
            {
                _context.Remove(machineToRemove);
                _context.SaveChanges();
            }
        }
        // Remove an PMPlannedMaintenance
        public void Remove(int id)
        {
            var pmplannedmaintenanceToRemove = _context.PmplannedMaintenance.Single(o => o.PmplannedMaintenanceId == id);

            if (pmplannedmaintenanceToRemove != null)
            {
                _context.Remove(pmplannedmaintenanceToRemove);
                _context.SaveChanges();
            }
        }
示例#14
0
        // Remove an UnPlanned
        public void Remove(int id)
        {
            var unplannedToRemove = _context.UnPlanned.Single(o => o.UnPlannedId == id);

            if (unplannedToRemove != null)
            {
                _context.Remove(unplannedToRemove);
                _context.SaveChanges();
            }
        }
        // Remove an PersonalUnplanned
        public void Remove(int id)
        {
            var personalunplannedToRemove = _context.PersonalUnplanned.Single(o => o.PersonalUnplannedId == id);

            if (personalunplannedToRemove != null)
            {
                _context.Remove(personalunplannedToRemove);
                _context.SaveChanges();
            }
        }
示例#16
0
        // Remove an PlannedDowntime
        public void Remove(int id)
        {
            var planneddowntimeToRemove = _context.PlannedDowntime.Single(o => o.PlannedDowntimeId == id);

            if (planneddowntimeToRemove != null)
            {
                _context.Remove(planneddowntimeToRemove);
                _context.SaveChanges();
            }
        }
        // Remove an Avaialbility
        public void Remove(int id)
        {
            var availabilityToRemove = _context.Availability.Single(o => o.AvailabilityId == id);

            if (availabilityToRemove != null)
            {
                _context.Remove(availabilityToRemove);
                _context.SaveChanges();
            }
        }
示例#18
0
        // Remove an CartMHE
        public void Remove(int id)
        {
            var cartmheToRemove = _context.CartMhe.Single(o => o.CartMheid == id);

            if (cartmheToRemove != null)
            {
                _context.Remove(cartmheToRemove);
                _context.SaveChanges();
            }
        }
示例#19
0
        // Remove an Oee
        public void Remove(int id)
        {
            var constraintToRemove = _context.Constraints.Single(o => o.ConstraintsId == id);

            if (constraintToRemove != null)
            {
                _context.Remove(constraintToRemove);
                _context.SaveChanges();
            }
        }
        // Remove an SetupAdjustment
        public void Remove(int id)
        {
            var setupadjustmentToRemove = _context.SetupAdjustment.Single(o => o.SetupAdjustmentId == id);

            if (setupadjustmentToRemove != null)
            {
                _context.Remove(setupadjustmentToRemove);
                _context.SaveChanges();
            }
        }
        // Remove an IdlingMinorStoppage
        public void Remove(int id)
        {
            var idlingminorstoppageToRemove = _context.IdlingMinorStoppage
                                              .Single(o => o.IdlingMinorStoppageId == id);

            if (idlingminorstoppageToRemove != null)
            {
                _context.Remove(idlingminorstoppageToRemove);
                _context.SaveChanges();
            }
        }