Skip to content

Scaffold: Refactor Schemas/Tables view #172

@seclerp

Description

@seclerp

Discussed in #169

Originally posted by LouisMilesRH May 31, 2023
Really like the Scaffold DBContext option however it doesn’t seem to pick up any Tables from my database which is odd… I added the NuGet package EntityFrameworkCore.SqlServer (which then appeared as a Provider) and added a connection string to appsettings.json (which then appeared in connection) and when I run the code it correctly generates all my tables. However when I go to the "Tables" tab within Rider and untick the "Scaffold all tables" option – it does not find any of these tables to toggle on and off (the same is true for Schemas).

image

image

image

It is worth noting that I did have to add "TrustServerCertificate=True" to my connection string (unsure if this could be related) as it is a dev server and does not have an SSL cert on it.

Have I done something wrong or is this a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsuggestionUnapproved suggestion

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions