OrderDetailModel Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 OrderDetailModel Class
Patterns-In-Action! ApplicationWindowsFormsModel.BusinessObjectsOrderDetailModel
Order detail business object as defined on service client side.
Declaration Syntax
C# Visual Basic
public class OrderDetailModel
Public Class OrderDetailModel
Members
All Members Constructors Methods Properties



Icon Member Description
OrderDetailModel()()()
Initializes a new instance of the OrderDetailModel class

Discount
Gets or sets discount applied to unit price in this order.

Equals(Object)
Determines whether the specified Object is equal to the current 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.)
Order
Gets or sets order of which this order detail is a part.

ProductName
Gets or sets product name.

Quantity
Gets or sets quantity of products ordered.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UnitPrice
Gets or set unit price of product.

Version
Version number for optimistic concurrency. Not used at the client.

Inheritance Hierarchy
Object
OrderDetailModel

Assembly: WindowsFormsModel (Module: WindowsFormsModel) Version: 1.0.0.0 (1.0.0.0)