Skip to content

多表查询中的第二点的导航属性的例子是不是有问题, #1992

Open
@zhiquanchi

Description

@zhiquanchi

多表查询,导航属性
这篇文章中说

正确配置 【导航关系】后,不需要手工调用 LeftJoin

但是我的查询类似

[HttpGet]
        public List<Xuqiu> GetAllXuqius(int page=1, int size=10)
        {
            

            return fsql.Select<Xuqiu>()
                // .LeftJoin((x, i) => x.XuqiuId == i.XuqiuId)
                // .IncludeMany(b => b.Images)
                .Page(page, size)
                .ToList();
        }

却没有导航的表的结果。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions