LINQ retrieve values from a table that of which fields(of a certain column) are not equal of another table -


I have two tables that have the same column, how can I get the first table where the value of the column is not Is the table value of the other table equal to?

Here's an example:

  table1ID | Foo | FooBool table2ID | Foo | Fooin ---------------------------- --------------------- -------- 1 | Test1 | True 1 Test2 | 5 2 Test2 | True 2 Test3 | 7 3 Test3 | True 4 Test4 | The false  

is the result of the LINQ query for the first table, in which the value of the foo is not equal to Table 2:

  table1ID | Foo | FooBool --------------------------- 1 | Test1 | True 4 Test4 | False  
  var result = db.table1 to t2 to d2 .table2 where t1.foo! = T2.foo Select t1  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -