예제 #1
0
파일: Device.cs 프로젝트: CoolWirya/BS
        public bool Update()
        {
            DeviceTable AT = new DeviceTable();

            AT.SetValueProperty(this);
            return(AT.Update());
        }
예제 #2
0
파일: Device.cs 프로젝트: CoolWirya/BS
        public bool Delete()
        {
            //if (BusManagment.JBusInstallAndUnistallDevise.FindByDeviceCode(Code) || BusManagment.JBusDevise.FindByDeviceCode(Code))
            //return false;
            DeviceTable AT = new DeviceTable();

            AT.SetValueProperty(this);
            return(AT.Delete());
        }
예제 #3
0
파일: Device.cs 프로젝트: CoolWirya/BS
        public int Insert()
        {
            DeviceTable AT = new DeviceTable();

            AT.SetValueProperty(this);

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