Method DeleteDatabaseAsync
- Namespace
- MongoDB.EntityFrameworkCore.Storage
- Assembly
- MongoDB.EntityFrameworkCore.dll
DeleteDatabaseAsync(CancellationToken)
Delete the database specified in the connection options asynchronously.
Task<bool> DeleteDatabaseAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA CancellationToken that can be used to cancel this asynchronous request.