public static TVProgrammeCrew TVProgrammeCrewFromProgram(Program p) { TVProgrammeCrew crew = new TVProgrammeCrew(); ProgramExtra pe = p.GetProgramExtra(); if (pe == null) return crew; if (!String.IsNullOrEmpty(pe.Actors)) crew.Actors = pe.Actors; if (!String.IsNullOrEmpty(pe.GuestActors)) if (!String.IsNullOrEmpty(crew.Actors)) crew.Actors += pe.GuestActors; else crew.Actors = pe.GuestActors; if (!String.IsNullOrEmpty(pe.Directors)) crew.Directors = pe.Directors; if (!String.IsNullOrEmpty(pe.Writers)) crew.Writers = pe.Writers; if (!String.IsNullOrEmpty(pe.Producers)) crew.Producers = pe.Producers; return crew; }