C# • Build the Customer Domain Class
Listing 2. Create a simple attribute class that encapsulates all the information pertaining to a customer. For all intents and purposes, it is an exact representation of a row from the Customers table.