Ejemplo n.º 1
0
        /// <summary>
        /// Dependent type names of this entity
        /// </summary>
        public void DeleteChildren(DatabaseEntities dbContext)
        {
            foreach (var x in MatchmakerOrganizationTaxonomyBranches.ToList())
            {
                x.DeleteFull(dbContext);
            }

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

            foreach (var x in TaxonomyLeafs.ToList())
            {
                x.DeleteFull(dbContext);
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Dependent type names of this entity
        /// </summary>
        public void DeleteChildren(DatabaseEntities dbContext)
        {
            foreach (var x in FundingSources.ToList())
            {
                x.DeleteFull(dbContext);
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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