Inheritance: INotifyPropertyChanging, INotifyPropertyChanged
 partial void DeleteResponse(Response instance);
 partial void UpdateResponse(Response instance);
		private void detach_Responses(Response entity)
		{
			this.SendPropertyChanging();
			entity.ResponseHeader = null;
		}
 partial void InsertResponse(Response instance);
        /// <summary>
        /// Creates a new <see cref="Response"/> instance, to be persisted when <see cref="SubmitChanges"/> is called.
        /// </summary>
        /// <param name="responseHeaderId">The ID of the <see cref="ResponseHeader"/> that the instance is connected to.</param>
        /// <param name="userId">The ID of the user creating the instance.</param>
        /// <returns>The new <see cref="Response"/> instance</returns>
        public Response CreateResponse(int responseHeaderId, int userId)
        {
            var response = new Response
                               {
                                       ResponseHeaderId = responseHeaderId,
                                       CreatedBy = userId,
                                       RevisingUser = userId,
                                       CreationDate = DateTime.Now,
                                       RevisionDate = DateTime.Now
                               };

            this.Context.Responses.InsertOnSubmit(response);

            return response;
        }