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

            foreach (var x in OrganizationTypeRelationshipTypes.ToList())
            {
                x.DeleteFull(dbContext);
            }
        }
Example #2
0
        /// <summary>
        /// Dependent type names of this entity
        /// </summary>
        public void DeleteChildren(DatabaseEntities dbContext)
        {
            foreach (var x in GisUploadSourceOrganizationsWhereYouAreTheRelationshipTypeForDefaultOrganization.ToList())
            {
                x.DeleteFull(dbContext);
            }

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

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

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