/// <summary> /// Deprecated Method for adding a new object to the MedicalEvent_View EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMedicalEvent_View(MedicalEvent_View medicalEvent_View) { base.AddObject("MedicalEvent_View", medicalEvent_View); }
/// <summary> /// Create a new MedicalEvent_View object. /// </summary> /// <param name="medicalEventId">Initial value of the MedicalEventId property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="nombreEspesialidad">Initial value of the NombreEspesialidad property.</param> /// <param name="patientId">Initial value of the PatientId property.</param> /// <param name="idProfesional">Initial value of the IdProfesional property.</param> public static MedicalEvent_View CreateMedicalEvent_View(global::System.Int32 medicalEventId, global::System.DateTime createdDate, global::System.String nombreEspesialidad, global::System.Int32 patientId, global::System.Int32 idProfesional) { MedicalEvent_View medicalEvent_View = new MedicalEvent_View(); medicalEvent_View.MedicalEventId = medicalEventId; medicalEvent_View.CreatedDate = createdDate; medicalEvent_View.NombreEspesialidad = nombreEspesialidad; medicalEvent_View.PatientId = patientId; medicalEvent_View.IdProfesional = idProfesional; return medicalEvent_View; }