>What is the equivalent in .NET LINQ of this VFP command?
>
>SELECT * ;
> FROM Cursor1 c1 ;
> WHERE c1.ID NOT IN (SELECT ID FROM Cursor2 c2) ;
> INTO Cursor c3
Top of my head and not tested:
var c3 = from x in c1 where ! (from y in c2 select y.ID).Contains(x.ID) select x;