【问题标题】:Linq Select Compound FromLinq 从中选择化合物
【发布时间】:2009-04-16 15:08:49
【问题描述】:

我正在尝试使用 linq 组件选择。我发现以下查询不返回任何元素:

            Dim q = From s In d.GetChildRows("DossierSinistri") _
                    From i In s.GetChildRows("DossierIncarichi") _
                    Select s

虽然以下是:

            Dim q = From s In d.GetChildRows("DossierSinistri") _
                    Select s

有什么帮助吗?

【问题讨论】:

    标签: asp.net vb.net linq


    【解决方案1】:

    为了避免影响显而易见,您是否尝试过“Select i”而不是“Select s”?

    【讨论】:

    • 它也不返回任何东西
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-11-05
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多