How to specify the name of the table to be used by DbContext
问题 This is a followback question from my earlier question. I was under the impression that if there're more than one table in the database, the name of the DbSet variable will be used to identify the table. However in the linked question it was clear that the DbContext was choosing Products table instead of Portfolio table even if the name of the variable was Portfolio . I can still change the variable name to anything and I am still getting data. So my question is how the tables are mapped by