Design Pattern Framework 3.5
OrderDetailDto Class
Patterns-In-Action! Application ► ActionService.DataTransferObjects ► OrderDetailDto
Order Detail Data Transfer Object.
The purpose of the OrderTransferObject is to facilitate transport of
customer order business data in a serializable format. Business data is kept in
publicly accessible auto property members. This class has no methods.
Declaration Syntax
C# | Visual Basic |
public class OrderDetailDto
Public Class OrderDetailDto
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
OrderDetailDto()()() |
Initializes a new instance of the OrderDetailDto class
|
|
Discount |
Discount applied to unit price.
|
|
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.) |
|
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
ProductName |
Product name ordered.
|
|
Quantity |
Quantity ordered.
|
|
ToString()()() | (Inherited from Object.) |
|
UnitPrice |
Unit price for product at order time.
|
|
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 | |
OrderDetailDto |