/// <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="id">Initial value of the Id property.</param> /// <param name="companyName">Initial value of the CompanyName property.</param> /// <param name="startDate">Initial value of the StartDate property.</param> /// <param name="summary">Initial value of the Summary property.</param> public static WorkExperience CreateWorkExperience(global::System.Int32 id, global::System.String companyName, global::System.DateTime startDate, global::System.String summary) { WorkExperience workExperience = new WorkExperience(); workExperience.Id = id; workExperience.CompanyName = companyName; workExperience.StartDate = startDate; workExperience.Summary = summary; return workExperience; }