|
C# • Build a Bridge to the Database Listing 3. The CustomerMapper class is your bridge between the domain model and the database. It knows how to create Customer objects from the corresponding Customer rows in the database. It is also responsible for providing a method that returns all customers from the database as Customer objects.
|