Question
Bits In Glass
GB
Last activity: 1 Jul 2021 17:42 EDT
Query about the CustomerData Scehma
Hello Team,
In my project, We have created several data tables with CustomerData schema, as Pega recommends to use Customerdata over PegaData.
Each table has custom properties, like FirstName, Last Name etc.,
The Hypothetical Question is how do I make reuse of the properties? Instead of Creating them in every table can it be reused from PegaData-Contact? is it a good approach? or to use the pyFirstName, pyLastName from @baseclass?
@Sesha_Kanduri , No worries, go ahead. The question of property reuse is and inheritance and rule resolution concern. It's entirely separate from OR-mapping and persistence. All py* properties are fair game to use however you wish - just watch out for conflicting dictionary level definitions and validations, Edit Validates, etc. that might also be defined on the property.