Hello,
I'm trying to use LLBLGen Pro (v2.6) generated entities as DataSets in my MS Reporting reports. This works pretty well but i've got major problems using entities that have m:n relations to each other.
To illustrate this problem I will try to explain it with a simple real-world case:
A product has 1 or more properties
A property can belong to 1 or more products
LLBLGen Pro generates the both classes nicely with the CollectionClasses as properties, for example:
The class ProductEntity has an property called PropertyCollection
The class PropertyEntity has an property called ProductCollection
This is the situation that Visuals Studio report designer (VS2008 and VS2010) cannot handle. As soon as this situation occurs and adding an entity class like this as a report dataset, VS will hang for a minute or so and will then close en restart.
Is there anybody else experiencing the same problem? At this moment I found a simple solution for this problem by generating a separate entity class for reporting purposes, with the m:n relations turned off, only i find this very annoying because I just want to use the default entity classes.
Hope someone can help me!
Thanks in advance!