Esempio n. 1
0
 /// <summary>
 /// Create a new Consulta object.
 /// </summary>
 /// <param name="idConsulta">Initial value of the IdConsulta property.</param>
 /// <param name="fecha">Initial value of the Fecha property.</param>
 public static Consulta CreateConsulta(global::System.Int32 idConsulta, global::System.DateTime fecha)
 {
     Consulta consulta = new Consulta();
     consulta.IdConsulta = idConsulta;
     consulta.Fecha = fecha;
     return consulta;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Consultas EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConsultas(Consulta consulta)
 {
     base.AddObject("Consultas", consulta);
 }