Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AlergiasDiagnostico EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAlergiasDiagnostico(AlergiasDiagnostico alergiasDiagnostico)
 {
     base.AddObject("AlergiasDiagnostico", alergiasDiagnostico);
 }
Example #2
0
 /// <summary>
 /// Create a new AlergiasDiagnostico object.
 /// </summary>
 /// <param name="idAlergia">Initial value of the idAlergia property.</param>
 /// <param name="idPaciente">Initial value of the idPaciente property.</param>
 /// <param name="idMedico">Initial value of the idMedico property.</param>
 /// <param name="fecha">Initial value of the Fecha property.</param>
 public static AlergiasDiagnostico CreateAlergiasDiagnostico(global::System.Guid idAlergia, global::System.Guid idPaciente, global::System.Int64 idMedico, global::System.DateTime fecha)
 {
     AlergiasDiagnostico alergiasDiagnostico = new AlergiasDiagnostico();
     alergiasDiagnostico.idAlergia = idAlergia;
     alergiasDiagnostico.idPaciente = idPaciente;
     alergiasDiagnostico.idMedico = idMedico;
     alergiasDiagnostico.Fecha = fecha;
     return alergiasDiagnostico;
 }