Skip to content

Scaffold-DbContext To Tables from another schema #39

@parejajd

Description

@parejajd

I try Scaffold tables that is stored in another schema, using the next command:

Scaffold-DbContext "Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=X.X.X.X)(PORT=1521)))(CONNECT_DATA=(SID=MYSID)));User Id=MYUSER;Password=MYPASSWORD;" Oracle.EntityFrameworkCore -Tables "AnotherScheme.TheTable"

and i am getting:

Unable to find a table in the database matching the selected table AnotherScheme.TheTable.

I can make queries to the table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions