/// <summary>
 /// Deprecated Method for adding a new object to the Perfomances EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPerfomances(Perfomance perfomance)
 {
     base.AddObject("Perfomances", perfomance);
 }
 /// <summary>
 /// Create a new Perfomance object.
 /// </summary>
 /// <param name="perfomanceID">Initial value of the PerfomanceID property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="startingTime">Initial value of the StartingTime property.</param>
 /// <param name="duration">Initial value of the Duration property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="movieID">Initial value of the MovieID property.</param>
 /// <param name="roomID">Initial value of the RoomID property.</param>
 /// <param name="theaterID">Initial value of the TheaterID property.</param>
 public static Perfomance CreatePerfomance(global::System.Int32 perfomanceID, global::System.DateTime date, global::System.TimeSpan startingTime, global::System.String duration, global::System.Decimal price, global::System.Int32 movieID, global::System.Int32 roomID, global::System.Guid theaterID)
 {
     Perfomance perfomance = new Perfomance();
     perfomance.PerfomanceID = perfomanceID;
     perfomance.Date = date;
     perfomance.StartingTime = startingTime;
     perfomance.Duration = duration;
     perfomance.Price = price;
     perfomance.MovieID = movieID;
     perfomance.RoomID = roomID;
     perfomance.TheaterID = theaterID;
     return perfomance;
 }