/// <summary> /// Deprecated Method for adding a new object to the JobTitles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToJobTitles(JobTitle jobTitle) { base.AddObject("JobTitles", jobTitle); }
/// <summary> /// Create a new JobTitle object. /// </summary> /// <param name="jobTitleID">Initial value of the JobTitleID property.</param> /// <param name="title">Initial value of the Title property.</param> public static JobTitle CreateJobTitle(global::System.Int32 jobTitleID, global::System.String title) { JobTitle jobTitle = new JobTitle(); jobTitle.JobTitleID = jobTitleID; jobTitle.Title = title; return jobTitle; }