Please consider the attached .lgp file.
I have a base abstract class called Widget, and 3 derived classes.
Problem #1
The Widget class is marked as abstract, however, I can still instantiate it like so:
m_Widget = New WidgetEntity(New Guid(WidgetId))
Is this a bug?
Problem #2
ForumWidget, and FormWidget are derived classes of Widget. If Widget entity were to be abstract, and all I have is a widgetid primary key, is there a best practice pattern to give me an instance of a appropriate derived class. Do I have to do something like a case statement?
Using LLBLGen Pro 2.6 June6th 2008
SD.LLBLGen.Pro.ORMSupportClasses.NET20.dll version 2.6.0.0 File Version 2.6.08.0624
SD.LLBLGen.Pro.DQE.SqlServer.NET20.dll version 2.6.0.0 File Version 2.6.08.0612