/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Encounters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEncounters(Encounter encounter) { base.AddObject("Encounters", encounter); }