private static int SingleInsertMovie(int genreId, int secondaryGenreId) { Console.WriteLine("Inserting a single movie using ToInsertand unescaped values."); Movie movie = new Movie { Name = "National Lampoon's Vacation", GenreId = genreId, SecondaryGenreId = secondaryGenreId }; return ExecuteQuery(movie.ToInsertQuery<Movie>(db.Provider)); }