/// <summary> /// Deprecated Method for adding a new object to the WorkExperiences EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWorkExperiences(WorkExperience workExperience) { base.AddObject("WorkExperiences", workExperience); }
/// <summary> /// Create a new WorkExperience object. /// </summary> /// <param name="workExperienceId">Initial value of the WorkExperienceId property.</param> /// <param name="startDate">Initial value of the StartDate property.</param> /// <param name="endDate">Initial value of the EndDate property.</param> /// <param name="resumeIDKey">Initial value of the ResumeIDKey property.</param> public static WorkExperience CreateWorkExperience(global::System.Int32 workExperienceId, global::System.DateTime startDate, global::System.DateTime endDate, global::System.String resumeIDKey) { WorkExperience workExperience = new WorkExperience(); workExperience.WorkExperienceId = workExperienceId; workExperience.StartDate = startDate; workExperience.EndDate = endDate; workExperience.ResumeIDKey = resumeIDKey; return workExperience; }