FromSql with Non-Existing Entity
问题 I have a very large, existing database with numerous views and tables. I need to combine the results of some views and tables. I want this combined data to be available in my DbContext but there is no single corresponding view or table that I can use to map the entity to the SQL results I want. To this end, I have set up a DbQuery in my context and I am using the OnModelCreating method to set up the query results, an example is below. Here are the entity object models. In this example Author