I don't agree on this. Customer is a merely a POCO here.
If you would really want to provide a proper encapsulation, then we would have provided TotalPurchase as public so the actual biz logic can read, use and persist.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I don't agree on this. Customer is a merely a POCO here.
If you would really want to provide a proper encapsulation, then we would have provided TotalPurchase as public so the actual biz logic can read, use and persist.