/// <summary>
 /// Create a new Cartelera object.
 /// </summary>
 /// <param name="idCartelera">Initial value of the IdCartelera property.</param>
 /// <param name="idPelicula">Initial value of the IdPelicula property.</param>
 /// <param name="idSala">Initial value of the IdSala property.</param>
 /// <param name="fechaHora">Initial value of the FechaHora property.</param>
 public static Cartelera CreateCartelera(global::System.Int32 idCartelera, global::System.Int32 idPelicula, global::System.Int32 idSala, global::System.DateTime fechaHora)
 {
     Cartelera cartelera = new Cartelera();
     cartelera.IdCartelera = idCartelera;
     cartelera.IdPelicula = idPelicula;
     cartelera.IdSala = idSala;
     cartelera.FechaHora = fechaHora;
     return cartelera;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Cartelera EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCartelera(Cartelera cartelera)
 {
     base.AddObject("Cartelera", cartelera);
 }