public void SetModeles(MODELE ModelesUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.MODELE.Add(ModelesUp);
            MaderaEntities.SaveChanges();
        }
        public void SetCustomers(CUSTOMER CustomersUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.CUSTOMER.Add(CustomersUp);
            MaderaEntities.SaveChanges();
        }
        public void SetAccount(ACCOUNT AccountUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.ACCOUNT.Add(AccountUp);
            MaderaEntities.SaveChanges();
        }
Esempio n. 4
0
        public void SetOrder(ORDER OrderUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.ORDER.Add(OrderUp);
            MaderaEntities.SaveChanges();
        }
        public void SetOrderDetails(ORDERDETAILS OrderDetailsUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.ORDERDETAILS.Add(OrderDetailsUp);
            MaderaEntities.SaveChanges();
        }
Esempio n. 6
0
        public void SetUnit(UNIT UnitUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.UNIT.Add(UnitUp);
            MaderaEntities.SaveChanges();
        }
        public void SetModule(MODULE ModuleUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.MODULE.Add(ModuleUp);
            MaderaEntities.SaveChanges();
        }
Esempio n. 8
0
        public void SetRange(RANGE RangeUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.RANGE.Add(RangeUp);
            MaderaEntities.SaveChanges();
        }
        public void SetCompenentFamily(COMPONENTFAMILY CompenentFamilyUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.COMPONENTFAMILY.Add(CompenentFamilyUp);
            MaderaEntities.SaveChanges();
        }
Esempio n. 10
0
        public void SetUsers(USERS UsersUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.USERS.Add(UsersUp);
            MaderaEntities.SaveChanges();
        }
        public void SetFinishing(FINISHING FinishingUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.FINISHING.Add(FinishingUp);
            MaderaEntities.SaveChanges();
        }
        public void SetCompenent(COMPONENTS CompenentUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.COMPONENTS.Add(CompenentUp);
            MaderaEntities.SaveChanges();
        }
        public void SetOrderStatus(ORDERSTATUS OrderStatusUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.ORDERSTATUS.Add(OrderStatusUp);
            MaderaEntities.SaveChanges();
        }
Esempio n. 14
0
        public void SetStock(STOCK StockUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.STOCK.Add(StockUp);
            MaderaEntities.SaveChanges();
        }
Esempio n. 15
0
        public void SetProject(PROJECT ProjectUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.PROJECT.Add(ProjectUp);
            MaderaEntities.SaveChanges();
        }
        public void SetCurrency(CURRENCY CurrencyUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.CURRENCY.Add(CurrencyUp);
            MaderaEntities.SaveChanges();
        }
Esempio n. 17
0
        public void SetAdress(ADRESS AdressUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.ADRESS.Add(AdressUp);
            MaderaEntities.SaveChanges();
        }
        public void Setsysdiagrams(sysdiagrams sysdiagramsUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.sysdiagrams.Add(sysdiagramsUp);
            MaderaEntities.SaveChanges();
        }
Esempio n. 19
0
        public void SetCover(COVER CoverUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.COVER.Add(CoverUp);
            MaderaEntities.SaveChanges();
        }
Esempio n. 20
0
        public void SetFill(FILL FillUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.FILL.Add(FillUp);
            MaderaEntities.SaveChanges();
        }
        public void SetComposed_To(COMPOSED_TO Composed_ToUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.COMPOSED_TO.Add(Composed_ToUp);
            MaderaEntities.SaveChanges();
        }
        public void Delete(int id)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            foreach (var a in MaderaEntities.sysdiagrams)
            {
                if (a.diagram_id == id)
                {
                    MaderaEntities.sysdiagrams.Remove(a);
                    MaderaEntities.SaveChanges();
                }
            }
        }
        public void Delete(int id)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            foreach (var a in MaderaEntities.COMPONENTS)
            {
                if (a.COMPONENT_ID == id)
                {
                    MaderaEntities.COMPONENTS.Remove(a);
                    MaderaEntities.SaveChanges();
                }
            }
        }
        public void Delete(int id)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            foreach (var a in MaderaEntities.ORDERSTATUS)
            {
                if (a.STATUS_ID == id)
                {
                    MaderaEntities.ORDERSTATUS.Remove(a);
                    MaderaEntities.SaveChanges();
                }
            }
        }
Esempio n. 25
0
        public void Delete(int id)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            foreach (var a in MaderaEntities.MODELE)
            {
                if (a.MODELE_ID == id)
                {
                    MaderaEntities.MODELE.Remove(a);
                    MaderaEntities.SaveChanges();
                }
            }
        }
        public void Delete(int id)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            foreach (var a in MaderaEntities.COMPOSED_TO)
            {
                if (a.MODULE_ID == id)
                {
                    MaderaEntities.COMPOSED_TO.Remove(a);
                    MaderaEntities.SaveChanges();
                }
            }
        }
        public void Delete(int id)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            foreach (var a in MaderaEntities.CURRENCY)
            {
                if (a.CURRENCY_ID == id)
                {
                    MaderaEntities.CURRENCY.Remove(a);
                    MaderaEntities.SaveChanges();
                }
            }
        }
Esempio n. 28
0
        public void Delete(int id)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            foreach (var a in MaderaEntities.PROJECT)
            {
                if (a.PROJECT_ID == id)
                {
                    MaderaEntities.PROJECT.Remove(a);
                    MaderaEntities.SaveChanges();
                }
            }
        }
        public void Delete(int id)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            foreach (var a in MaderaEntities.FINISHING)
            {
                if (a.FINISHING_ID == id)
                {
                    MaderaEntities.FINISHING.Remove(a);
                    MaderaEntities.SaveChanges();
                }
            }
        }
Esempio n. 30
0
        public void Delete(int id)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            foreach (var a in MaderaEntities.ADRESS)
            {
                if (a.ADRESS_ID == id)
                {
                    MaderaEntities.ADRESS.Remove(a);
                    MaderaEntities.SaveChanges();
                }
            }
        }