/// <summary>
 /// Deprecated Method for adding a new object to the Visits EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVisits(Visit visit)
 {
     base.AddObject("Visits", visit);
 }
 /// <summary>
 /// Create a new Visit object.
 /// </summary>
 /// <param name="visitId">Initial value of the VisitId property.</param>
 /// <param name="visitDate">Initial value of the VisitDate property.</param>
 public static Visit CreateVisit(global::System.Guid visitId, global::System.DateTime visitDate)
 {
     Visit visit = new Visit();
     visit.VisitId = visitId;
     visit.VisitDate = visitDate;
     return visit;
 }