/// <summary> /// Deprecated Method for adding a new object to the Surgeons EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSurgeons(Surgeon surgeon) { base.AddObject("Surgeons", surgeon); }
/// <summary> /// Create a new Surgeon object. /// </summary> /// <param name="surgeonId">Initial value of the surgeonId property.</param> public static Surgeon CreateSurgeon(global::System.Int32 surgeonId) { Surgeon surgeon = new Surgeon(); surgeon.surgeonId = surgeonId; return surgeon; }