Razor pages and database with a specific schema RRS feed

  • Question

  • User1778916669 posted

    Hi, I'm building an application for already existing DB. Within a DB there are several schemas eg:

    • dbo
    • Production,
    • Purchasing,
    • ...

    I don't have any problems to work with dbo schema, because there is no neccesity to refer to dbo anywhere eg:

    public DbSet<Employee> Employee { get; set; } that dbo.Employee table

    But what would I have to do to connect with Production.Product table?

    Thursday, March 4, 2021 9:32 AM


All replies