source/TestCommon/source/FunctionApp.TestCommon/Database/SqlServerDatabaseManager.cs
/// <summary>
/// The intention is to delete previously created database using this, when testing is done.
/// Note: Deletes database created by <see cref="CreateDatabaseAsync"/>
/// </summary>
The intention is to delete previously created database using this, when testing is done.
Note: Deletes database created by
The intention is to delete previously created database using this when testing is done . Note : Deletes database created by
public async Task<bool> DeleteDatabaseAsync()
        {
            var context = CreateDbContext();
            await using (context.ConfigureAwait(false))
            {
                return await context.Database.EnsureDeletedAsync().ConfigureAwait(false);
            }
        }
public async Task < bool > DeleteDatabaseAsync ( ) { var context = CreateDbContext ( ) ; await using ( context . ConfigureAwait ( false ) ) { return await context . Database . EnsureDeletedAsync ( ) . ConfigureAwait ( false ) ; } }
The intention is to delete previously created database using this, when testing is done.
The intention is to delete previously created database using this when testing is done .