/// <summary>
 /// Create a new Encounter object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Encounter CreateEncounter(global::System.Int32 id, global::System.String name)
 {
     Encounter encounter = new Encounter();
     encounter.Id = id;
     encounter.Name = name;
     return encounter;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Encounters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEncounters(Encounter encounter)
 {
     base.AddObject("Encounters", encounter);
 }