/// <summary> /// Deprecated Method for adding a new object to the PersonMovies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPersonMovies(PersonMovie personMovie) { base.AddObject("PersonMovies", personMovie); }
/// <summary> /// Create a new PersonMovie object. /// </summary> /// <param name="personMovieID">Initial value of the PersonMovieID property.</param> /// <param name="movieID">Initial value of the MovieID property.</param> /// <param name="personID">Initial value of the PersonID property.</param> public static PersonMovie CreatePersonMovie(global::System.Int32 personMovieID, global::System.Int32 movieID, global::System.Guid personID) { PersonMovie personMovie = new PersonMovie(); personMovie.PersonMovieID = personMovieID; personMovie.MovieID = movieID; personMovie.PersonID = personID; return personMovie; }