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

前端 未结 5 1350
别跟我提以往
别跟我提以往 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-16 11:16

    I believe this is how you would do it in VB (I'm a C# developer):

    query = query.where(Function(s) s = "ABC")
    

    See LINQ - Sample Queries for some examples.

提交回复
热议问题