/// <summary> /// Create a new DoctorAvailability object. /// </summary> /// <param name="availabilityid">Initial value of the Availabilityid property.</param> /// <param name="fromTime">Initial value of the FromTime property.</param> /// <param name="toTime">Initial value of the ToTime property.</param> /// <param name="doctorid">Initial value of the Doctorid property.</param> public static DoctorAvailability CreateDoctorAvailability(global::System.Int32 availabilityid, global::System.DateTime fromTime, global::System.DateTime toTime, global::System.Int32 doctorid) { DoctorAvailability doctorAvailability = new DoctorAvailability(); doctorAvailability.Availabilityid = availabilityid; doctorAvailability.FromTime = fromTime; doctorAvailability.ToTime = toTime; doctorAvailability.Doctorid = doctorid; return doctorAvailability; }
/// <summary> /// Deprecated Method for adding a new object to the DoctorAvailabilities EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDoctorAvailabilities(DoctorAvailability doctorAvailability) { base.AddObject("DoctorAvailabilities", doctorAvailability); }