We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Update StartupSQLite with the following code.
StartupSQLite
public void ConfigureServices(IServiceCollection services) { services.AddRazorPages(); #if !IN_MEM services.AddDbContext<SchoolContext>(options => options.UseSqlite(Configuration.GetConnectionString("SchoolContext"))); #else services.AddDbContext<SchoolContext>(options => options.UseInMemoryDatabase("InMemorySchoolContext")); #endif services.AddDatabaseDeveloperPageExceptionFilter(); }
Doesn't work with concurrency, see dotnet/efcore#10625
Also add section on showing SQL output. See https://stackoverflow.com/a/66662556/502537
⚠ 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:
Rick-Anderson
No branches or pull requests
Update
StartupSQLite
with the following code.Doesn't work with concurrency, see dotnet/efcore#10625
Also add section on showing SQL output. See https://stackoverflow.com/a/66662556/502537
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: