dotnet / dotnet/EntityFramework.Docs

Add more context create/drop database examples

Open
#1,491 1 comment 4 reactions 0 assignees View on GitHub
area-migrations
Dominant language
Mermaid
Stars
1.7k
Forks
2k
Avg merge
7d 23h
Merged PRs (30d)
16

Description

This is poorly written documentation. The variable dbContext is used out of context - missing the code that declares and initializes it.

---
#### Document Details

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

* ID: d1e258bc-5d33-0586-e2ba-46dbdf2e3d35
* Version Independent ID: 777c4acb-f5c7-3b99-950e-e5265006182a
* Content: [Create and Drop APIs - EF Core](https://docs.microsoft.com/en-us/ef/core/managing-schemas/ensure-created#feedback)
* Content Source: [entity-framework/core/managing-schemas/ensure-created.md](https://github.com/aspnet/EntityFramework.Docs/blob/master/entity-framework/core/managing-schemas/ensure-created.md)
* Product: **entity-framework**
* Technology: **entity-framework-core**
* GitHub Login: @bricelam
* Microsoft Alias: **bricelam**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.