コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MP_Shows EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMP_Shows(MP_Shows mP_Shows)
 {
     base.AddObject("MP_Shows", mP_Shows);
 }
コード例 #2
0
 /// <summary>
 /// Create a new MP_Shows object.
 /// </summary>
 /// <param name="showId">Initial value of the ShowId property.</param>
 /// <param name="screenId">Initial value of the ScreenId property.</param>
 /// <param name="movieId">Initial value of the MovieId property.</param>
 /// <param name="minimumAgeLimit">Initial value of the MinimumAgeLimit property.</param>
 /// <param name="showDate">Initial value of the ShowDate property.</param>
 /// <param name="startTime">Initial value of the StartTime property.</param>
 /// <param name="endTime">Initial value of the EndTime property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static MP_Shows CreateMP_Shows(global::System.Int32 showId, global::System.Int32 screenId, global::System.Int32 movieId, global::System.Int32 minimumAgeLimit, global::System.DateTime showDate, global::System.DateTime startTime, global::System.DateTime endTime, global::System.Boolean isActive)
 {
     MP_Shows mP_Shows = new MP_Shows();
     mP_Shows.ShowId = showId;
     mP_Shows.ScreenId = screenId;
     mP_Shows.MovieId = movieId;
     mP_Shows.MinimumAgeLimit = minimumAgeLimit;
     mP_Shows.ShowDate = showDate;
     mP_Shows.StartTime = startTime;
     mP_Shows.EndTime = endTime;
     mP_Shows.IsActive = isActive;
     return mP_Shows;
 }