Inheritance: INotifyPropertyChanging, INotifyPropertyChanged
 partial void UpdateSection(Section instance);
 partial void DeleteSection(Section instance);
 partial void InsertSection(Section instance);
		private void detach_Sections(Section entity)
		{
			this.SendPropertyChanging();
			entity.Survey = null;
		}
		private void attach_Sections(Section entity)
		{
			this.SendPropertyChanging();
			entity.Survey = this;
		}
        /// <summary>
        /// Called when a new <see cref="Section"/> is inserted.
        /// </summary>
        /// <param name="instance">The new <see cref="Section"/> instance.</param>
partial         void InsertSection(Section instance)
        {
            instance.CreationDate = DateTime.Now;
            instance.RevisionDate = DateTime.Now;
            this.ExecuteDynamicInsert(instance);
        }
        /// <summary>
        /// Called when an existing <see cref="Section"/> is updated.
        /// </summary>
        /// <param name="instance">The existing <see cref="Section"/> instance.</param>
partial         void UpdateSection(Section instance)
        {
            instance.RevisionDate = DateTime.Now;
            this.ExecuteDynamicUpdate(instance);
        }