Пример #1
0
 static void CheckForDirectorLine(Session session)
 {
     if (MovieArtistLine.GetDirector(session) != null)
     {
         return;
     }
     new MovieArtistLine(session, ReferenceData.DirectorString);
 }
Пример #2
0
 public MovieArtist(Movie movie, Artist artist, MovieArtistLine line, string description)
     : this(movie.Session)
 {
     if (artist == null)
     {
         throw new ArgumentNullException("artist");
     }
     Movie       = movie;
     Artist      = artist;
     Line        = line;
     Description = description;
 }
Пример #3
0
 public void AddArtist(Artist artist, MovieArtistLine line, string description)
 {
     new MovieArtist(this, artist, line, description);
 }
Пример #4
0
 public void AddArtist(Artist artist, MovieArtistLine line)
 {
     AddArtist(artist, line, string.Empty);
 }