How do I append a 'where' clause using VB.NET and LINQ?

前端 未结 5 1330
别跟我提以往
别跟我提以往 2020-12-16 10:28

I am pretty new to VB.NET and am having a bit of trouble here with something I thought should be simple.

Keeping it simple, let\'s say I have a Document table with \

5条回答
  •  醉梦人生
    2020-12-16 11:04

    If you do this in a loop, you can do something like this:

    .Where(Function(i as mytype) i.myfiltervar = WhatIWantToSelect)
    

提交回复
热议问题