Hi, I have a question regarding the design of a class. Should the properties of a class exist in a separate class from the methods of a class?
For e.g. If I have a class named "Employee". Should I make two separate classes; one holding methods of a class such as 'Add Employee', 'Update Employee' and 'Delete Employee' and another class holding its properties such as 'Employee ID', 'First Name', 'Last Name'. I remember working on one project where we had separate classes for an object's properties and a separate class where all the methods of the class were implemented in the business layer using a class library project template. Please advice on what would be a most appropriate and effective design? Regards, Sunny -- You received this message because you are subscribed to the Google Groups "Dot Net Discussions" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/dot-net-discussions?hl=en.
