public static int AddEvaluation(Domain.Evaluation dto)
        {
            using (EvaluationDBDataContext db = new EvaluationDBDataContext())
            {
                Evaluation Evaluation = new Evaluation
                {
                    Name = dto.Name,
                    Description = dto.Description,
                    StatusID = dto.StatusID,
                    UserID = dto.UserID,
                    RoleID = dto.RoleID,
                    DateCreated = DateTime.Now,
                    DateModified = DateTime.Now
                };

                // Update evaluation levels

                // Update responses

                db.Evaluations.InsertOnSubmit(Evaluation);
                db.SubmitChanges();
                dto.ID = Evaluation.EvaluationID;

                return dto.ID;
            }
        }
		private void detach_Evaluations(Evaluation entity)
		{
			this.SendPropertyChanging();
			entity.Role = null;
		}
		private void attach_Evaluations(Evaluation entity)
		{
			this.SendPropertyChanging();
			entity.Role = this;
		}
 partial void DeleteEvaluation(Evaluation instance);
 partial void UpdateEvaluation(Evaluation instance);
 partial void InsertEvaluation(Evaluation instance);