dotnet-starter-kit icon indicating copy to clipboard operation
dotnet-starter-kit copied to clipboard

Join multi tables

Open Haytham-Natej opened this issue 1 year ago • 1 comments

The client page needs to be join to several tables to retrieve information.. How can that be done?

Haytham-Natej avatar Feb 04 '25 11:02 Haytham-Natej

If it is for lookups, refer to anything related to Product=>Brand, If it is unrelated data in same schema, create a dto model that will combine the data in the api layer using linq. If it is from different DbContexts, you need to call the endpoints seperately from the screen.

kallievz avatar Feb 04 '25 12:02 kallievz