Can a String based Include alternative be created in Entity Framework Core?

后端 未结 4 1170
离开以前
离开以前 2020-12-15 06:35

On an API I need dynamic include but EF Core does not support String based include.

Because of this I created a mapper which maps Strings to lambda expressions added

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-15 07:08

    String-based Include() shipped in EF Core 1.1. I would suggest you try upgrading and removing any workarounds you had to add to your code to address this limitation.

提交回复
热议问题