/// <summary>
 /// 创建新的 Appointment 对象。
 /// </summary>
 /// <param name="appointmentID">AppointmentID 属性的初始值。</param>
 /// <param name="doctorID">DoctorID 属性的初始值。</param>
 /// <param name="userID">UserID 属性的初始值。</param>
 public static Appointment CreateAppointment(global::System.Guid appointmentID, global::System.String doctorID, global::System.String userID)
 {
     Appointment appointment = new Appointment();
     appointment.AppointmentID = appointmentID;
     appointment.DoctorID = doctorID;
     appointment.UserID = userID;
     return appointment;
 }
 /// <summary>
 /// 用于向 Appointments EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToAppointments(Appointment appointment)
 {
     base.AddObject("Appointments", appointment);
 }