Пример #1
0
        public void SetModeles(MODELE ModelesUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.MODELE.Add(ModelesUp);
            MaderaEntities.SaveChanges();
        }
Пример #2
0
        public void SetCustomers(CUSTOMER CustomersUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.CUSTOMER.Add(CustomersUp);
            MaderaEntities.SaveChanges();
        }
Пример #3
0
        public void SetAccount(ACCOUNT AccountUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.ACCOUNT.Add(AccountUp);
            MaderaEntities.SaveChanges();
        }
Пример #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();
        }
Пример #6
0
        public void SetUnit(UNIT UnitUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.UNIT.Add(UnitUp);
            MaderaEntities.SaveChanges();
        }
Пример #7
0
        public void SetModule(MODULE ModuleUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.MODULE.Add(ModuleUp);
            MaderaEntities.SaveChanges();
        }
Пример #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();
        }
Пример #10
0
        public void SetUsers(USERS UsersUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.USERS.Add(UsersUp);
            MaderaEntities.SaveChanges();
        }
Пример #11
0
        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();
        }
Пример #14
0
        public void SetStock(STOCK StockUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.STOCK.Add(StockUp);
            MaderaEntities.SaveChanges();
        }
Пример #15
0
        public void SetProject(PROJECT ProjectUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.PROJECT.Add(ProjectUp);
            MaderaEntities.SaveChanges();
        }
Пример #16
0
        public void SetCurrency(CURRENCY CurrencyUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.CURRENCY.Add(CurrencyUp);
            MaderaEntities.SaveChanges();
        }
Пример #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();
        }
Пример #19
0
        public void SetCover(COVER CoverUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.COVER.Add(CoverUp);
            MaderaEntities.SaveChanges();
        }
Пример #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();
                }
            }
        }
Пример #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();
                }
            }
        }
Пример #27
0
        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();
                }
            }
        }
Пример #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();
                }
            }
        }
Пример #29
0
        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();
                }
            }
        }
Пример #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();
                }
            }
        }