How does Distinct manage to work on an IQueryable after mapping from entities to DTOs in EF Core?

后端 未结 0 1300
逝去的感伤
逝去的感伤 2021-02-08 15:27

I have a query similar to this that I am running against our database:

var result = await _context.MyEntities
    .Select(x => new SubEntityDto { Id = x.SubEnt         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题