I feel I'm having a difficult time articulating this, let alone searching for it on the forums, so if this has already been discussed, please forgive me.
I have an LLblgen entity CUSTOMER that I'd like to add several custom properties. The properties would return CUSTOMER membership status. For example, if customer a member of PREFERRED BUYERS list, then property Customer.isPreferredBuyer return true. I can add the private/public members directly in the code generated Entity class, but not sure how I would set the value. (A query to a typed view passing the customer's id)
Is this something that should be done in the business logic layer, encapsulating the customer entity or can the type view be called in the custom code region of the customer entity? (In which case, not sure how I'd reference the customer id w/in the customer entity)
My preference would be to add the code to the Entity directly just b/c I'm updating an existing project where I use the customer entity all over the place.
Thanks!!