Entityframework.docs: Why is it important to use a new DbContext for each schema creation/ test run/ verification step?

Created on 29 Jan 2019  Â·  1Comment  Â·  Source: dotnet/EntityFramework.Docs

What does this achieve as opposed to initializing a private context with the necessary schema, and testing and verifying against that?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

closed-question

Most helpful comment

@gusmally This is closer to how a context is used in a typical application.

>All comments

@gusmally This is closer to how a context is used in a typical application.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jpeckham picture jpeckham  Â·  3Comments

speciesunknown picture speciesunknown  Â·  3Comments

divega picture divega  Â·  3Comments

norvegec picture norvegec  Â·  3Comments

CubeSpark picture CubeSpark  Â·  3Comments