Design Pattern Framework 3.5
CustomerDto Class
Patterns-In-Action! Application ► ActionService.DataTransferObjects ► CustomerDto
Customer Data Transfer Object.
The purpose of the CustomerTransferObject is to facilitate transport of
customer business data in a serializable format. Business data is kept in
publicly accessible auto properties. This class has no methods.
Declaration Syntax
C# | Visual Basic |
public class CustomerDto
Public Class CustomerDto
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
CustomerDto()()() |
Initializes a new instance of the CustomerDto class
|
|
City |
Customer city.
|
|
Company |
Customer or company name.
|
|
Country |
Customer country.
|
|
CustomerId |
Unique customer identifier.
The Identity Field Design Pattern.
|
|
Equals(Object) | (Inherited from Object.) |
|
Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
|
LastOrderDate |
Last order date for customer.
|
|
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
NumOrders |
Total number of orders placed by customer.
|
|
Orders |
List of orders placed by customer.
|
|
ToString()()() | (Inherited from Object.) |
|
Version |
Version number. Used in optimistic concurrency.
|
Remarks
Pattern: Data Transfer Objects.
Data Transfer Objects are objects that transfer data between processes, but without behavior.
Inheritance Hierarchy
Object | |
CustomerDto |