Include with projection does not work

前端 未结 2 1890
盖世英雄少女心
盖世英雄少女心 2020-12-21 08:59

I have this query

    var test = context.Assignments
        .Include(a => a.Customer)
        .Include(a => a.Subscriptions)
        .Select(a => n         


        
2条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-21 09:40

    This is by design. Include is not for scenarios with projection or custom joins.

提交回复
热议问题