Ejemplo n.º 1
0
        public bool Update()
        {
            DeviceTable AT = new DeviceTable();

            AT.SetValueProperty(this);
            return(AT.Update());
        }
Ejemplo n.º 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());
        }
Ejemplo n.º 3
0
        public int Insert()
        {
            DeviceTable AT = new DeviceTable();

            AT.SetValueProperty(this);

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