/// <summary>
        /// Deserialize the mock VJobCandidateEducation entity from a temporary file.
        /// </summary>
        private void Step_7_DeserializeEntity_Generated()
        {
            string fileName = "temp_VJobCandidateEducation.xml";

            XmlSerializer mySerializer = new XmlSerializer(typeof(VJobCandidateEducation));

            System.IO.FileStream myFileStream = new System.IO.FileStream(fileName, System.IO.FileMode.Open);
            mock = (VJobCandidateEducation)mySerializer.Deserialize(myFileStream);
            myFileStream.Close();
            System.IO.File.Delete(fileName);

            System.Console.WriteLine("mock correctly deserialized from a temporary file.");
        }
        ///<summary>
        ///  Returns a Typed VJobCandidateEducation Entity with mock values.
        ///</summary>
        static public VJobCandidateEducation CreateMockInstance()
        {
            VJobCandidateEducation mock = new VJobCandidateEducation();

            mock.JobCandidateId              = TestUtility.Instance.RandomNumber();
            mock.SafeNameEduLevel            = TestUtility.Instance.RandomString(2, false);;
            mock.SafeNameEduStartDate        = TestUtility.Instance.RandomDateTime();
            mock.SafeNameEduEndDate          = TestUtility.Instance.RandomDateTime();
            mock.SafeNameEduDegree           = TestUtility.Instance.RandomString(24, false);;
            mock.SafeNameEduMajor            = TestUtility.Instance.RandomString(24, false);;
            mock.SafeNameEduMinor            = TestUtility.Instance.RandomString(24, false);;
            mock.SafeNameEduGpa              = TestUtility.Instance.RandomString(5, false);;
            mock.SafeNameEduGpaScale         = TestUtility.Instance.RandomString(5, false);;
            mock.SafeNameEduSchool           = TestUtility.Instance.RandomString(49, false);;
            mock.SafeNameEduLocCountryRegion = TestUtility.Instance.RandomString(49, false);;
            mock.SafeNameEduLocState         = TestUtility.Instance.RandomString(49, false);;
            mock.SafeNameEduLocCity          = TestUtility.Instance.RandomString(49, false);;
            return((VJobCandidateEducation)mock);
        }
        /// <summary>
        /// Convert a nettiers entity to the ws proxy entity.
        /// </summary>
        public static WsProxy.VJobCandidateEducation Convert(VJobCandidateEducation item)
        {
            WsProxy.VJobCandidateEducation outItem = new WsProxy.VJobCandidateEducation();
            outItem.JobCandidateId              = item.JobCandidateId;
            outItem.SafeNameEduLevel            = item.SafeNameEduLevel;
            outItem.SafeNameEduStartDate        = item.SafeNameEduStartDate;
            outItem.SafeNameEduEndDate          = item.SafeNameEduEndDate;
            outItem.SafeNameEduDegree           = item.SafeNameEduDegree;
            outItem.SafeNameEduMajor            = item.SafeNameEduMajor;
            outItem.SafeNameEduMinor            = item.SafeNameEduMinor;
            outItem.SafeNameEduGpa              = item.SafeNameEduGpa;
            outItem.SafeNameEduGpaScale         = item.SafeNameEduGpaScale;
            outItem.SafeNameEduSchool           = item.SafeNameEduSchool;
            outItem.SafeNameEduLocCountryRegion = item.SafeNameEduLocCountryRegion;
            outItem.SafeNameEduLocState         = item.SafeNameEduLocState;
            outItem.SafeNameEduLocCity          = item.SafeNameEduLocCity;

            return(outItem);
        }