Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Experiences EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToExperiences(Experience experience)
 {
     base.AddObject("Experiences", experience);
 }
Esempio n. 2
0
 /// <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;
 }