Example #1
0
        public void CanInsertToDatabaseFromConnectionStringSettingsAndInMemoryCollection()
        {
            BulkInsertFibonacciToDatabaseFromConnectionStringSettings fibonacci = new BulkInsertFibonacciToDatabaseFromConnectionStringSettings(25, Should.WorkFine);

            fibonacci.Execute();

            Assert25ThFibonacci();
        }
Example #2
0
        public async Task CanInsertToDatabaseFromConnectionStringSettingsAndInMemoryCollection()
        {
            await EnsureFibonacciTableExists();

            BulkInsertFibonacciToDatabaseFromConnectionStringSettings fibonacci = new BulkInsertFibonacciToDatabaseFromConnectionStringSettings(25, Should.WorkFine);
            await fibonacci.Execute();

            await Assert25ThFibonacci();
        }