Пример #1
0
 private static async Task InitializeDataInDatabase(int numberOfRecords)
 {
     var movieDataManager  = new MovieDataManager();
     var uniqueMovieTitles = Randomizer.GenerateUniqueAsciiStrings(numberOfRecords);
     var movies            = GetRandomMovies(numberOfRecords, uniqueMovieTitles);
     await movieDataManager.CreateMoviesTvpMergeInsertInto(movies);
 }
Пример #2
0
 public Program()
 {
     _movieDataManager = new MovieDataManager();
 }