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

            foreach (var x in ObligationRequests.ToList())
            {
                x.DeleteFull(dbContext);
            }
        }
Beispiel #3
0
        /// <summary>
        /// Dependent type names of this entity
        /// </summary>
        public void DeleteChildren(DatabaseEntities dbContext)
        {
            foreach (var x in ObligationItems.ToList())
            {
                x.DeleteFull(dbContext);
            }

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

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