/// <summary> /// Create a new BoxOffice object. /// </summary> /// <param name="filmId">Initial value of the FilmId property.</param> public static BoxOffice CreateBoxOffice(global::System.Int32 filmId) { BoxOffice boxOffice = new BoxOffice(); boxOffice.FilmId = filmId; return boxOffice; }
/// <summary> /// Deprecated Method for adding a new object to the BoxOffices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBoxOffices(BoxOffice boxOffice) { base.AddObject("BoxOffices", boxOffice); }