Ejemplo n.º 1
0
        public void Insert(int?DeviceType, int?TestTypeId, string DeviceName, int?PortId, short?ManufactureId,
                           bool?DeviceControl, bool?Valid, string Description, string BarcodeType, short SendType)
        {
            var item = new DDeviceList();

            item.DeviceType = DeviceType;

            item.TestTypeId = TestTypeId;

            item.DeviceName = DeviceName;

            item.PortId = PortId;

            item.ManufactureId = ManufactureId;

            item.DeviceControl = DeviceControl;

            item.Valid = Valid;

            item.Description = Description;

            item.BarcodeType = BarcodeType;

            item.SendType = SendType;


            item.Save(UserName);
        }
Ejemplo n.º 2
0
 public bool Destroy(object DeviceId)
 {
     return(DDeviceList.Destroy(DeviceId) == 1);
 }
Ejemplo n.º 3
0
 public bool Delete(object DeviceId)
 {
     return(DDeviceList.Delete(DeviceId) == 1);
 }