/// <summary>
 /// Deprecated Method for adding a new object to the Jornada EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToJornada(Jornada jornada)
 {
     base.AddObject("Jornada", jornada);
 }
 /// <summary>
 /// Create a new Jornada object.
 /// </summary>
 /// <param name="idJornada">Initial value of the IdJornada property.</param>
 /// <param name="fecha">Initial value of the Fecha property.</param>
 /// <param name="horaInicio">Initial value of the HoraInicio property.</param>
 /// <param name="horaFinal">Initial value of the HoraFinal property.</param>
 /// <param name="idEmpresa">Initial value of the IdEmpresa property.</param>
 /// <param name="idTipoJornada">Initial value of the IdTipoJornada property.</param>
 /// <param name="idPersona">Initial value of the IdPersona property.</param>
 public static Jornada CreateJornada(global::System.Int32 idJornada, global::System.DateTime fecha, global::System.TimeSpan horaInicio, global::System.TimeSpan horaFinal, global::System.Int32 idEmpresa, global::System.Int32 idTipoJornada, global::System.Int32 idPersona)
 {
     Jornada jornada = new Jornada();
     jornada.IdJornada = idJornada;
     jornada.Fecha = fecha;
     jornada.HoraInicio = horaInicio;
     jornada.HoraFinal = horaFinal;
     jornada.IdEmpresa = idEmpresa;
     jornada.IdTipoJornada = idTipoJornada;
     jornada.IdPersona = idPersona;
     return jornada;
 }