I have a list of items and wish to set one of their properties to a certain value:
applist.ForEach(Function(x) x.PrePaidTypeID = CInt(DBEnums.PrePaidType.NoPrepay))
...but we think this just does a boolean comparison. Is there a way to force VB to assign the integer value rather than compare it?