Example #1
0
        public bool Update()
        {
            DeviceTable AT = new DeviceTable();

            AT.SetValueProperty(this);
            return(AT.Update());
        }
Example #2
0
        public bool Delete()
        {
            //if (BusManagment.JBusInstallAndUnistallDevise.FindByDeviceCode(Code) || BusManagment.JBusDevise.FindByDeviceCode(Code))
            //return false;
            DeviceTable AT = new DeviceTable();

            AT.SetValueProperty(this);
            return(AT.Delete());
        }
Example #3
0
        public int Insert()
        {
            DeviceTable AT = new DeviceTable();

            AT.SetValueProperty(this);

            Code = AT.Insert();
            return(Code);
        }