Hi, VB, LLBLGen 2.0, Adapter
This should be simple but I'm all over the place on this. I'm trying to find a PK within a RegionEntity collection which is already bound to a grid, but I can't get past a '_Value of type Boolean cannot be converted to SD.LLBLGEN.Pro.ORMSuppottClasses.IPredicate_' on ent.RegionID = CShort(ID).
Dim myCollection As EntityCollection(Of RegionEntity)
myCollection = CType(Me.BindingSource1.DataSource, EntityCollection(Of RegionEntity))
Dim ent As RegionEntity
Dim filter As New PredicateExpression()
filter.Add(ent.RegionID = CShort(ID))
Dim c As List(Of Integer) = myCollection .FindMatches(filter)
I'm not even sure that I've defined 'ent' correctly.
Any ideas anyone?