knez wrote:
Otis wrote:
Ok, to be sure I understand your point: what you suggest is that the code generation cycle should support multiple TYPE inheritance and where possible should help implementing interfaces by generating code already? (stubbing out code etc.) ?
No, I really wanted to get opinions, I didn't want to suggest anything.
Ok
Though you gave me a great idea to solve one of the major painpoints of the moment: adding custom code to the generated code: the developer should be able to select additional assemblies which contain types and which should be referenced/implemented by an entity for example.
Looking at your example, it's clear there can be only one parent class and the other one has to be aggregated inside that class, wrapped with implementations of its interface (the general way of implementing MI in .NET / Java)
Persistence of those classes can be difficult. The code generator can solve this problem in a way, but I'm unsure if that leads to maintainable code. With maintainable code I mean: if you come back after a year, start LLBLGen pro, and want to change something in the model, will the code you wrote be runnable still, and will the generated code update the existing code or will it require a different setup? The more dependencies are added, the less maintainable the code will become.