コード例 #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();
        }
コード例 #5
0
        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();
        }
コード例 #9
0
        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();
        }
コード例 #12
0
        public void SetCompenent(COMPONENTS CompenentUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.COMPONENTS.Add(CompenentUp);
            MaderaEntities.SaveChanges();
        }
コード例 #13
0
        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();
        }
コード例 #18
0
        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();
        }
コード例 #21
0
        public void SetComposed_To(COMPOSED_TO Composed_ToUp)
        {
            MaderaEntities MaderaEntities = new MaderaEntities();

            MaderaEntities.COMPOSED_TO.Add(Composed_ToUp);
            MaderaEntities.SaveChanges();
        }
コード例 #22
0
        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();
                }
            }
        }
コード例 #23
0
        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();
                }
            }
        }
コード例 #24
0
        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();
                }
            }
        }
コード例 #26
0
        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();
                }
            }
        }