Hello,
I have a problem with the LLBLGen Pro V2. version upgrade to 5.7.
I regenerated in Adapter mode (as before) and I have an error on this method (the VB .Net code has not changed) :
.AddWithAnd(New FieldCompareRangePredicate( _
GroupFieldsA.FieldAAA, Nothing, list))
When I debug I see the following error:
'DirectCast(DirectCast((New System.Collections.Generic.Mscorlib_CollectionDebugView(Of SD.LLBLGen.Pro.ORMSupportClasses.IPredicateExpressionElement)
(DirectCast(filter.PredicateExpression, SD.LLBLGen.Pro.ORMSupportClasses.PredicateExpression)._predicates).Items(4)),
SD.LLBLGen.Pro.ORMSupportClasses.PredicateExpressionElement).Contents, SD.LLBLGen.Pro.ORMSupportClasses.FieldCompareRangePredicate).
Field' raised an exception of type 'System.InvalidOperationException'
"This object was constructed using a non-selfservicing constructor. Can't retrieve an IEntityField after that."
" to SD.LLBLGen.Pro.ORMSupportClasses.FieldCompareRangePredicate.get_Field()"
I have searched everywhere but I could not find any solution to my problem.
Can you please help me?
Thank you.