- When using model-first, choose TPH over TPT when possible.
- When using database-first, remove navigation properties from corresponding entities. Obviously there’s a tradeoff here, but to get TPT to a reasonable performance the sacrifice is necessary.
- Create views of corresponding tables and create entities on the views.
0 comments:
Post a Comment