Exemplo n.º 1
0
        public void CanInsertToDatabaseFromConnectionStringSettingsAndInMemoryCollection()
        {
            BulkInsertFibonacciToDatabaseFromConnectionStringSettings fibonacci = new BulkInsertFibonacciToDatabaseFromConnectionStringSettings(25, Should.WorkFine);

            fibonacci.Execute();

            Assert25ThFibonacci();
        }
Exemplo n.º 2
0
        public async Task CanInsertToDatabaseFromConnectionStringSettingsAndInMemoryCollection()
        {
            await EnsureFibonacciTableExists();

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

            await Assert25ThFibonacci();
        }