Inheritance

03 Feb '16, 11:03 AM
2,624 Views
No Forum Badges

Does WebRatio support inheritance in entities?

 

For example, I have an abstract base class called Person, with two concrete sub-classes called NaturalPerson and LegalPerson, with some attributes and methods for each of these three classes.

 

And, what are the strategies for persisting structures like the above?

 
x 0
Follow
Answer Answer at this question and get points!
Forum Expert - Level 8

Inheritance is supported by the Domain Model.
You can have a look at this video to learn more about this:

https://my.webratio.com/learn/learningobject/defining-the-domain-model-v-72

 
x 1
No Forum Badges

I'd say this is a fairly common requirement.

Has anyone implemented this kind of thing in WebRatio, and can they provide some guidance on how to do it?

 
x 0
Answer at this question and get points!