/// <summary> /// Create a new AppointmentAvail object. /// </summary> /// <param name="appAvailID">Initial value of the AppAvailID property.</param> /// <param name="dayPrefID">Initial value of the DayPrefID property.</param> /// <param name="appDate">Initial value of the AppDate property.</param> public static AppointmentAvail CreateAppointmentAvail(global::System.Int32 appAvailID, global::System.Int32 dayPrefID, global::System.DateTime appDate) { AppointmentAvail appointmentAvail = new AppointmentAvail(); appointmentAvail.AppAvailID = appAvailID; appointmentAvail.DayPrefID = dayPrefID; appointmentAvail.AppDate = appDate; return appointmentAvail; }
/// <summary> /// Deprecated Method for adding a new object to the AppointmentAvails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAppointmentAvails(AppointmentAvail appointmentAvail) { base.AddObject("AppointmentAvails", appointmentAvail); }