public void Insert(string DeviceTypeName, string Note)
        {
            DDeviceTypeList item = new DDeviceTypeList();

            item.DeviceTypeName = DeviceTypeName;

            item.Note = Note;


            item.Save(UserName);
        }
        public void Update(int DeviceTypeId, string DeviceTypeName, string Note)
        {
            DDeviceTypeList item = new DDeviceTypeList();

            item.MarkOld();
            item.IsLoaded = true;

            item.DeviceTypeId = DeviceTypeId;

            item.DeviceTypeName = DeviceTypeName;

            item.Note = Note;

            item.Save(UserName);
        }
 public bool Destroy(object DeviceTypeId)
 {
     return(DDeviceTypeList.Destroy(DeviceTypeId) == 1);
 }
 public bool Delete(object DeviceTypeId)
 {
     return(DDeviceTypeList.Delete(DeviceTypeId) == 1);
 }