/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Consultas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToConsultas(Consulta consulta) { base.AddObject("Consultas", consulta); }