private void detach_HigherEducations(HigherEducation entity)
		{
			this.SendPropertyChanging();
			entity.Account = null;
		}
 partial void DeleteHigherEducation(HigherEducation instance);
 partial void InsertHigherEducation(HigherEducation instance);
 partial void UpdateHigherEducation(HigherEducation instance);
    public bool presist(HigherEducationDTO entity)
    {
        try
        {
            model.HigherEducation obj = new HigherEducation();
            obj.userName = entity.userName;
            obj.major = entity.major;
            obj.institution = entity.institution;
            obj.town = entity.town;
            obj.province = entity.province;
            obj.country = entity.country;
            obj.educationType = entity.educationType;
            obj.major = entity.major;
            obj.industry = entity.industry;
            obj.length = entity.length;
            obj.nqf = entity.nqf;

            ctx.HigherEducations.InsertOnSubmit(obj);
            ctx.SubmitChanges();
            return true;
        }
        catch (Exception)
        {
            ctx.Dispose();
            ctx = new ModelDataContext();
            return false;
        }
    }