Re: OOP Design Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Man T

    Re: OOP Design Question

    CustomerControl ler or CustomerManager would be a good name.
    >
    CustomerManager cm = new CustomerManager ();
    cm.SaveCustomer (c);
    Yes, this is the way many experts suggest.
    ie. Customer should NOT have method to save itself. eg. Customer.Save() ;
    This is not correct.

    It should as you suggested
    cm.SaveCustomer (c);


Working...