Hi When creating data entity, I am wondering where the business logic such as the following should be coded:
(1) Validation before the create/update/delete
(2) Populate some field dynamically based on the value of another field?
Should these business logic be coded at Entity or Table? What are Pros and Cons?
Thank you very much in advance!