Skip to content

User secrets #1914

@whippet71

Description

@whippet71

The command you give to scaffold a context when using a connection string from user secrets didn't work for me. I had to include the "ConnectionStrings." prefix, e.g.:
dotnet ef dbcontext scaffold Name=ConnectionStrings.Chinook Microsoft.EntityFrameworkCore.SqlServer


Document Details

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions