Move AsAsyncDatabaseConnection into the static class DatabaseConnection.