Table Per Inheritance

Hi, I use TPH for quite a few domain concepts in my entity classes. Can you advise me in general how I should handle TPH?

I have a need to show different form for each sub classes that resides in the same SQL tables. I wonder about the complexity of doing this dynamically. Is it fairly straightforward to modify the generated code to accommodate it? Or I should change my entity classes to avoid TPH? It would be challenging for me to modify entity design due to the complex domain building logic that is already implemented.

Hi @David_Yu,

Radzen Blazor Studio doesn't provide built-in support for TPH. I am afraid we can't advise you on that one.

Thanks @korchev, yes, I am aware there is no built-in support for TPH. In your opinion, do you think I can extend the generated code to handle this? I suppose other people would have been in a similar situation.

Unfortunately we don't have experience with TPH so we can't tell whether you can extend the generated code or not.

I don't recall other people asking us about TPH.

okay, I will give it a try. Thanks.