Design Pattern Framework 3.5
ProductDto Class
Patterns-In-Action! Application ► ActionService.DataTransferObjects ► ProductDto
Product 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 property members. This class has no methods.
Declaration Syntax
C# | Visual Basic |
public class ProductDto
Public Class ProductDto
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
ProductDto()()() |
Initializes a new instance of the ProductDto class
|
|
Category |
Gets category name under which product is categorized.
|
|
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.) |
|
ProductId |
Gets or sets the unique identifier for the product.
The Identity Field Design Pattern.
|
|
ProductName |
Getd or sets the product name.
|
|
ToString()()() | (Inherited from Object.) |
|
UnitPrice |
Gets or sets the unit price of the product in US$.
|
|
UnitsInStock |
Gets or sets units in stock for the product.
|
|
Version |
Gets or sets version. Used in support of optimistic concurrency.
|
|
Weight |
Gets or sets the weight of the product.
|
Remarks
Pattern: Data Transfer Objects.
Data Transfer Objects are objects that transfer data between processes, but without behavior.
Inheritance Hierarchy
Object | |
ProductDto |