Hello,
Is there any reason when a class included in an inheritance hierarchy in LLBLGen Pro isn't marked abstract when the C# templates are generated?
The reason it came up is because I'm using inheritance to represent a tree of accounts; leaf accounts are "posting accounts" and have a real balance, and non-leaf nodes are summary accounts and don't have real balances. The balance of a summary account is the sum of all posting accounts that are grand children of the summary account node.
If the abstract Account class were marked as abstract in the CLR, I could declare an abstract method to get the balance and then implementations in the concrete classes.
If I edit the base entity and mark it abstract everything compiles and works; is there any reason the templates aren't marked abstract in the templates that ship?
Regards,
Ben