EF5 and DB2 9.1. Boolean undefined error
I have a WPF application that uses EF5 to query a DB2 9.1 mainframe database ... Whenever I try to do something like the following, I get the error "BOOLEAN" is undefined.
var cc = contents.Select(x => x.NDC).ToList();
var sched = (from s in ctx.Query<Data.Entities.DrugSched>()
where s.State == App.State && cc.Contains(s.NDC)
select s).ToList();
Thus, DB2 does not appear to be of type bool ... and does not like the List.Contains () function. I can split this query and convert the first part to a list of objects and a query that using the Contains function ... but this is a crappy solution. Anyone have a better idea?
+3
source to share
1 answer