/// <summary> /// Deprecated Method for adding a new object to the Experiences EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToExperiences(Experience experience) { base.AddObject("Experiences", experience); }
/// <summary> /// Create a new Experience object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="employer">Initial value of the Employer property.</param> /// <param name="joiningDate">Initial value of the JoiningDate property.</param> public static Experience CreateExperience(global::System.Int32 id, global::System.String employer, global::System.DateTime joiningDate) { Experience experience = new Experience(); experience.Id = id; experience.Employer = employer; experience.JoiningDate = joiningDate; return experience; }