コード例 #1
0
        /// <summary>
        /// Dependent type names of this entity
        /// </summary>
        public void DeleteChildren(DatabaseEntities dbContext)
        {
            foreach (var x in WbsElementObligationItemBudgets.ToList())
            {
                x.DeleteFull(dbContext);
            }

            foreach (var x in WbsElementPnBudgets.ToList())
            {
                x.DeleteFull(dbContext);
            }

            foreach (var x in AgreementCostAuthorities.ToList())
            {
                x.DeleteFull(dbContext);
            }

            foreach (var x in CostAuthorityObligationRequests.ToList())
            {
                x.DeleteFull(dbContext);
            }

            foreach (var x in CostAuthorityProjects.ToList())
            {
                x.DeleteFull(dbContext);
            }

            foreach (var x in ReclamationStagingCostAuthorityAgreements.ToList())
            {
                x.DeleteFull(dbContext);
            }
        }
コード例 #2
0
ファイル: Agreement.Binding.cs プロジェクト: sitkatech/alevin
        /// <summary>
        /// Dependent type names of this entity
        /// </summary>
        public void DeleteChildren(DatabaseEntities dbContext)
        {
            foreach (var x in ObligationNumbersWhereYouAreTheReclamationAgreement.ToList())
            {
                x.DeleteFull(dbContext);
            }

            foreach (var x in AgreementCostAuthorities.ToList())
            {
                x.DeleteFull(dbContext);
            }

            foreach (var x in AgreementPacificNorthActivitiesWhereYouAreTheReclamationAgreement.ToList())
            {
                x.DeleteFull(dbContext);
            }

            foreach (var x in ObligationRequests.ToList())
            {
                x.DeleteFull(dbContext);
            }

            foreach (var x in ReclamationStagingCostAuthorityAgreements.ToList())
            {
                x.DeleteFull(dbContext);
            }
        }