Skip to content

希望支持特殊构造查询 #1412

@nincompoopH

Description

@nincompoopH
var testEntities = await db.Queryable<School>()
          .Includes(x=>x.Class)
          .Includes(x=>x.Class,y=>y.StudentList)
          .Select(x=> new
          {
              SchoolId=x.SchoolId,
              SchoolName=x.SchoolName,
              Class = new
              {
                  ClassName= x.Class.ClassName,
                  StudentList = x.Class.StudentList.Select(s => new
                  {
                      s.StudentName
                  }).ToList()
              }
          })
          .ToPageListAsync(1, 10, total);

现在这种特殊构造的查询不支持 希望后续支持一下

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions