/// <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);
            }
        }
Beispiel #2
0
        /// <summary>
        /// Dependent type names of this entity
        /// </summary>
        public void DeleteChildren(DatabaseEntities dbContext)
        {
            foreach (var x in CostAuthorityObligationRequests.ToList())
            {
                x.DeleteFull(dbContext);
            }

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