/// <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); } }
/// <summary> /// Dependent type names of this entity /// </summary> public void DeleteChildren(DatabaseEntities dbContext) { foreach (var x in ClassificationsWhereYouAreTheKeyImageFileResourceInfo.ToList()) { x.DeleteFull(dbContext); } foreach (var x in CustomPageImages.ToList()) { x.DeleteFull(dbContext); } foreach (var x in DocumentLibraryDocuments.ToList()) { x.DeleteFull(dbContext); } foreach (var x in FieldDefinitionDataImages.ToList()) { x.DeleteFull(dbContext); } foreach (var x in FileResourceDatas.ToList()) { x.DeleteFull(dbContext); } foreach (var x in FirmaHomePageImages.ToList()) { x.DeleteFull(dbContext); } foreach (var x in FirmaPageImages.ToList()) { x.DeleteFull(dbContext); } foreach (var x in GeospatialAreaImages.ToList()) { x.DeleteFull(dbContext); } foreach (var x in OrganizationsWhereYouAreTheLogoFileResourceInfo.ToList()) { x.DeleteFull(dbContext); } foreach (var x in OrganizationImages.ToList()) { x.DeleteFull(dbContext); } foreach (var x in PerformanceMeasureImages.ToList()) { x.DeleteFull(dbContext); } foreach (var x in ProjectAttachmentsWhereYouAreTheAttachment.ToList()) { x.DeleteFull(dbContext); } foreach (var x in ProjectAttachmentUpdatesWhereYouAreTheAttachment.ToList()) { x.DeleteFull(dbContext); } foreach (var x in ProjectImages.ToList()) { x.DeleteFull(dbContext); } foreach (var x in ProjectImageUpdates.ToList()) { x.DeleteFull(dbContext); } foreach (var x in ReportTemplates.ToList()) { x.DeleteFull(dbContext); } foreach (var x in TenantAttributesWhereYouAreTheTenantBannerLogoFileResourceInfo.ToList()) { x.DeleteFull(dbContext); } foreach (var x in TenantAttributesWhereYouAreTheTenantFactSheetLogoFileResourceInfo.ToList()) { x.DeleteFull(dbContext); } foreach (var x in TenantAttributesWhereYouAreTheTenantSquareLogoFileResourceInfo.ToList()) { x.DeleteFull(dbContext); } foreach (var x in TenantAttributesWhereYouAreTheTenantStyleSheetFileResourceInfo.ToList()) { x.DeleteFull(dbContext); } }