/// <summary> /// Create a new Movie object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="unknown">Initial value of the Unknown property.</param> /// <param name="action">Initial value of the Action property.</param> /// <param name="adventure">Initial value of the Adventure property.</param> /// <param name="animation">Initial value of the Animation property.</param> /// <param name="childrens">Initial value of the Childrens property.</param> /// <param name="comedy">Initial value of the Comedy property.</param> /// <param name="crime">Initial value of the Crime property.</param> /// <param name="documentary">Initial value of the Documentary property.</param> /// <param name="drama">Initial value of the Drama property.</param> /// <param name="fantasy">Initial value of the Fantasy property.</param> /// <param name="film_Noir">Initial value of the Film_Noir property.</param> /// <param name="horror">Initial value of the Horror property.</param> /// <param name="musical">Initial value of the Musical property.</param> /// <param name="mystery">Initial value of the Mystery property.</param> /// <param name="romance">Initial value of the Romance property.</param> /// <param name="sci_Fi">Initial value of the Sci_Fi property.</param> /// <param name="thriller">Initial value of the Thriller property.</param> /// <param name="war">Initial value of the War property.</param> /// <param name="western">Initial value of the Western property.</param> public static Movie CreateMovie(global::System.Int32 id, global::System.Boolean unknown, global::System.Boolean action, global::System.Boolean adventure, global::System.Boolean animation, global::System.Boolean childrens, global::System.Boolean comedy, global::System.Boolean crime, global::System.Boolean documentary, global::System.Boolean drama, global::System.Boolean fantasy, global::System.Boolean film_Noir, global::System.Boolean horror, global::System.Boolean musical, global::System.Boolean mystery, global::System.Boolean romance, global::System.Boolean sci_Fi, global::System.Boolean thriller, global::System.Boolean war, global::System.Boolean western) { Movie movie = new Movie(); movie.Id = id; movie.Unknown = unknown; movie.Action = action; movie.Adventure = adventure; movie.Animation = animation; movie.Childrens = childrens; movie.Comedy = comedy; movie.Crime = crime; movie.Documentary = documentary; movie.Drama = drama; movie.Fantasy = fantasy; movie.Film_Noir = film_Noir; movie.Horror = horror; movie.Musical = musical; movie.Mystery = mystery; movie.Romance = romance; movie.Sci_Fi = sci_Fi; movie.Thriller = thriller; movie.War = war; movie.Western = western; return movie; }
/// <summary> /// Deprecated Method for adding a new object to the Movie EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMovie(Movie movie) { base.AddObject("Movie", movie); }