New answers tagged separation-of-concerns
You could use the Template Method Pattern. Here is how. Have an abstract class that will be the parent and define the way things are being loaded from the database. Loading method will be an abstract method returning a generic value. Connection string will be an abstract property. Once you extend other classes from this parent class you can then define ...
Top 50 recent answers are included