/// <summary> /// Dependent type names of this entity /// </summary> public void DeleteChildren(DatabaseEntities dbContext) { foreach (var x in Grants.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 GisUploadSourceOrganizationsWhereYouAreTheDefaultLeadImplementerOrganization.ToList()) { x.DeleteFull(dbContext); } foreach (var x in Grants.ToList()) { x.DeleteFull(dbContext); } foreach (var x in GrantAllocations.ToList()) { x.DeleteFull(dbContext); } foreach (var x in OrganizationBoundaryStagings.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 Programs.ToList()) { x.DeleteFull(dbContext); } foreach (var x in ProjectOrganizations.ToList()) { x.DeleteFull(dbContext); } foreach (var x in ProjectOrganizationUpdates.ToList()) { x.DeleteFull(dbContext); } }