Sunday, June 05, 2011 7:44 AM
There are two filesets,named A and B.The records in A are:
The records in B are:
So,how can i get the record "4" from fileset B.Because B`s records 2 and 3 are contained in A .Namely,the records which are contained in B and do not contained in A are what i want.
How can i achieve this?
Sunday, June 05, 2011 4:27 PM
Use the Join() operator to do this.
There's an example that shows a simple join in the samples with the beta.
- Proposed As Answer by Ade Miller Sunday, June 05, 2011 4:29 PM
Friday, June 17, 2011 8:22 PM
You can use the built-in operator IQueryable.Except().
The definition of Except (http://msdn.microsoft.com/en-us/library/bb348938.aspx) requires that you say B.Except(A) in order to achieve what you want.
- Proposed As Answer by Mike Liddell, MSFT Friday, June 17, 2011 8:22 PM