Пример #1
0
        } // non utilisé

        #endregion

        #region DIRECTOR
        public void addDirectorRelation(MovieDTO movie, DirectorDTO d)
        {
            MovieDirector newdr = new MovieDirector
            {
                id          = 0,
                id_Movie    = movie.Id,
                id_Director = d.Id
            };

            add <MovieDirector>(newdr, xg => xg.id == d.Id);
        }
 private void detach_MovieDirectors(MovieDirector entity)
 {
     this.SendPropertyChanging();
     entity.Movie = null;
 }
 private void attach_MovieDirectors(MovieDirector entity)
 {
     this.SendPropertyChanging();
     entity.Movie = this;
 }
 partial void DeleteMovieDirector(MovieDirector instance);
 partial void UpdateMovieDirector(MovieDirector instance);
 partial void InsertMovieDirector(MovieDirector instance);