Hi,
I'm using LLBLGen 2.6 (latest version as of a couple of months ago) with SelfServicing, VB.NET, TwoClasses 2010.
I've set up a inheritance hierachy in my database and LLBLGen as follows:
MasterProduct -> Sub-type of Product
SubProduct -> Sub-Type of Product
I want MasterProduct and SubProduct to have certain properties and methods, the content of which changes for each type. MasterProduct has a collection of SubProducts (similar to a Kit).
I can define these as MustOverride in the Product but this seems to break other things in LBLLGen. If I put the Product class as MustInherit LLBL factories start to complain even though the Product is marked as Abstract from the LLBLGen designer.
No one should construct a ProductEntity, not even LLBLGen.
There are also issues as the ProductEntity inherits from ProductEntityBase.
I was wondering what is the best practice in this area?
It seems exceptionallty convoluted for something that would be trivial with POCO.