Skip to content

Please can you make Dispose in TestContextBase virtual #337

Closed

Description

@robalexclark

I need to dispose of a sql lite connection as recommended here:

https://docs.microsoft.com/en-us/ef/core/testing/sqlite

I'm inheriting from TestContext but cant override Dispose to add my connection.Dispose() line.

Activity

  1. locked and limited conversation to collaborators on Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions