-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make configuring dbcontext topic more helpful #876
Comments
Aside from general requests for more examples, there's only one comment from the feedback control; it indicates more context is needed for one of the code snippets. "UseSqlite does not exist on options when typing options.UseSqlite" |
In order for the options.UseSqlite or options.UseSqlServer choices to appear on the intellisense menu, the "using Microsoft.EntityFrameworkCore;" must be added. Just ran into this minutes ago, and found this. |
Related to (not a complete fix for) #876
What about the repository pattern? The repository uses IRepository interface, and coupling that with the DbContext and the initialisation can be non-trivial as far as dependency injection is concerned? |
Today, while experimenting with some of the code, I was tripped up by the fact that there are different "options". One is the parameter of |
Also |
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Draft Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling New docs for context creation and initialization
New docs for context creation and initialization Fixes #594 Part of #876 Fixes #1390 Fixes #1923 Fixes #2241 Part of #2523 Part of #2549 Part of #1832 Let's discuss where this page should go and what goes underneath it. We had previously decided to keep this in Miscellaneous, but I now believe this would be better as a top-level item with the following subsections to go into more detail: - DbContext lifetime, configuration and initialization - Overview - Connection strings - Using dependency injection - Connection resiliency - Context pooling
Helpfulness rating is very low.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: