I have a requirement where I need to execute the follwing sql statement but for some reason I can't get it any help or directions would be most appreciated;
select columnA from TableA
where ColumnA not IN
(select ColumnA from TableB)
or ColumnC=1
===
I have followed the example in the help file but I can't get it going
here is the code :
Dim b As RelationPredicateBucket = New RelationPredicateBucket
b.PredicateExpression.Add(New FieldCompareSetPredicate( _
EntityFieldFactory.Create(DAL.TableA.ColumnA), Nothing, _
EntityFieldFactory.Create(DAL.TableB.ColumnA), Nothing, _
SetOperator.In, _
PredicateFactory.CompareValue(DAL.TableB.ColumnA, _
ComparisonOperator.Equal, False)))