예제 #1
0
 /// <summary>
 /// Create a new Encounter object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static Encounter CreateEncounter(global::System.Int32 id)
 {
     Encounter encounter = new Encounter();
     encounter.ID = id;
     return encounter;
 }
예제 #2
0
 /// <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);
 }