Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PatientMedicament_View EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPatientMedicament_View(PatientMedicament_View patientMedicament_View)
 {
     base.AddObject("PatientMedicament_View", patientMedicament_View);
 }
Пример #2
0
 /// <summary>
 /// Create a new PatientMedicament_View object.
 /// </summary>
 /// <param name="patientMedicamentId">Initial value of the PatientMedicamentId property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="medicamentName">Initial value of the MedicamentName property.</param>
 /// <param name="periodicity_hours">Initial value of the Periodicity_hours property.</param>
 /// <param name="daysCount">Initial value of the DaysCount property.</param>
 /// <param name="medicalEventId">Initial value of the MedicalEventId property.</param>
 /// <param name="nombreProfesional">Initial value of the NombreProfesional property.</param>
 /// <param name="apellidoProfesional">Initial value of the ApellidoProfesional property.</param>
 /// <param name="patientId">Initial value of the PatientId property.</param>
 /// <param name="medicamentPresentation">Initial value of the MedicamentPresentation property.</param>
 /// <param name="enabled">Initial value of the Enabled property.</param>
 /// <param name="dosis">Initial value of the Dosis property.</param>
 /// <param name="idEspesialidad">Initial value of the IdEspesialidad property.</param>
 /// <param name="nombreEspesialidad">Initial value of the NombreEspesialidad property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static PatientMedicament_View CreatePatientMedicament_View(global::System.Int32 patientMedicamentId, global::System.DateTime createdDate, global::System.String medicamentName, global::System.Int16 periodicity_hours, global::System.Int16 daysCount, global::System.Int32 medicalEventId, global::System.String nombreProfesional, global::System.String apellidoProfesional, global::System.Int32 patientId, global::System.String medicamentPresentation, global::System.Boolean enabled, global::System.String dosis, global::System.Int32 idEspesialidad, global::System.String nombreEspesialidad, global::System.Int32 status)
 {
     PatientMedicament_View patientMedicament_View = new PatientMedicament_View();
     patientMedicament_View.PatientMedicamentId = patientMedicamentId;
     patientMedicament_View.CreatedDate = createdDate;
     patientMedicament_View.MedicamentName = medicamentName;
     patientMedicament_View.Periodicity_hours = periodicity_hours;
     patientMedicament_View.DaysCount = daysCount;
     patientMedicament_View.MedicalEventId = medicalEventId;
     patientMedicament_View.NombreProfesional = nombreProfesional;
     patientMedicament_View.ApellidoProfesional = apellidoProfesional;
     patientMedicament_View.PatientId = patientId;
     patientMedicament_View.MedicamentPresentation = medicamentPresentation;
     patientMedicament_View.Enabled = enabled;
     patientMedicament_View.Dosis = dosis;
     patientMedicament_View.IdEspesialidad = idEspesialidad;
     patientMedicament_View.NombreEspesialidad = nombreEspesialidad;
     patientMedicament_View.Status = status;
     return patientMedicament_View;
 }