/// <summary> /// Deprecated Method for adding a new object to the sessions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTosessions(session session) { base.AddObject("sessions", session); }
/// <summary> /// Create a new session object. /// </summary> /// <param name="idSession">Initial value of the idSession property.</param> /// <param name="patients_Clinicians_cUserName">Initial value of the Patients_Clinicians_cUserName property.</param> /// <param name="patients_idPatient">Initial value of the Patients_idPatient property.</param> /// <param name="sDate">Initial value of the sDate property.</param> /// <param name="sTime">Initial value of the sTime property.</param> public static session Createsession(global::System.Int32 idSession, global::System.String patients_Clinicians_cUserName, global::System.Int32 patients_idPatient, global::System.DateTime sDate, global::System.TimeSpan sTime) { session session = new session(); session.idSession = idSession; session.Patients_Clinicians_cUserName = patients_Clinicians_cUserName; session.Patients_idPatient = patients_idPatient; session.sDate = sDate; session.sTime = sTime; return session; }