I'm running LLBLGen Pro 2.5. I used it to generate self-servicing code for .NET 2.0 and SQL Server, so the runtime libraries are SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll version 2.5.7.1219 and SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll version 2.5.8.109.
I'm upgrading a C# application from .NET 1.1 to .NET 2 and from LLBLGen Pro 1 to LLBLGen Pro 2.5. It's a big application which someone else wrote and is new to me. So I don't yet know in detail what the problematic code fragments are trying to achieve, though it looks straightforward enough. Building the project that invokes the generated code fails with error messages like this one:
'MyApplication.Data.CollectionClasses.QuestionActionCollection' does not contain a definition for 'SupportsSorting'
where QuestionActionCollection is a collection class generated by LLBLGen Pro.
The code which causes the build error looks like this:
// Get and sort the actions.
QuestionActionCollection actions;
// [Code to populate the collection ommitted.]
if (!actions.SupportsSorting) {
actions.SupportsSorting = true;
actions.Sort(
(int)QuestionActionFieldIndex.ActionIndex,
ListSortDirection.Ascending);
}
The build error message is listed for each occurrence of actions.SupportsSorting in the above code fragment.