Пример #1
0
        public static async Task EmptyAndFillDatabases()
        {
            DatabaseOrderDummyFiller dbFiller = new DatabaseOrderDummyFiller();
            await dbFiller.ClearDatabaseTestRecords();

            await dbFiller.FillDatabaseTablesWithDummyData();
        }
Пример #2
0
        public async Task Setup()
        {
            await DatabaseOrderDummyFiller.EmptyAndFillDatabases();

            string connectionString = DatabaseConnectionString.GetAzureConnectionString("ordertest");

            OrderService.dataAccess = new OrderDataAccessImplMySql(connectionString);
        }