vb.net - Exclusionary Set Syntax with Linq, VB -
Based on criteria I want to subtract the set. A pseudo-question will look like this:
selection of column 1 of Table 1 Table 1, column 2 to Table 2, where Table2.column2 in Table 2) < P> I can do it here: from dim list = tbl1 in table 1 where tt.column1 ... and there I do not know what to do.
There is a look at standard query operator except You can use the in LINQ with two views The set difference is produced. in operator to get whatever you want, according to the sample given below:
dim table2col1 = Table 2 t.column1 Blurring table2ol2 = Choose from table 2 t.column2 from dim result = _ in table 1 where neither table2ol1.Contains (t.column1 ) _ And not new table2ol2.Contains (t.column2) _ {.column1 = t.column1, .column2 = t.column2}
Comments
Post a Comment