Home > Net >  Excuse me: LIST (OF T) using lambada expression how to filter the null value?
Excuse me: LIST (OF T) using lambada expression how to filter the null value?

Time:01-05

The LIST (OF T) using lambada expression how to filter the null values?
Suppose there is a kind of record has a name, gender, id and some other properties, can be null
Dim the data as a list (of record) 'assumes that the
Dim query=data. AsQueryable. Where ( function (p) p. name isnot nothing ). Tolist
Using the above methods can query until the data Of a certain attribute is not null, but I query attributes, not sure which one is the red part to use Expression (Of Func (Of record, Boolean)) dynamically generated, how to do?

  • Related