Hello everyone,
During my experience as a software developer I got used to a practice of creating Entity classes (or DTOs) and Manager classes. For example I'd create Customer with it's property getters and setters and then CustomerManager with all the methods related to Customer class (for example GetCustomer, GetOrders etc...). Don't know why, but it seemed appealing to me to have additional separation between properties and methods. But now I start to think if this approach is good or bad. I mean I'd rather have Customer.Get() than CustomerManager.GetCustomer(). I would like to hear your oppinions and suggestions about this. Are the differences purely aesthetic or is there anything to gain from either approach?
Thank you in advance, Community at Stackoverflow has always been very helpful. Keep up the good work!