LineItem Class
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Namespace:
Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Represents a line item on an order form.
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
LineItem represents a single line item. LineItem implements IEnumerable to allow easy enumeration over all weakly-typed properties of the line item.
The order capture system assigns a unique integer to every line item for every OrderForm. Upon removal of an item, these integer index values are recomputed. Line items are created as stand-alone entities, and are then added to the LineItemCollection.
A valid line item must have valid values for the ProductCatalog, ProductID, and Quantity properties.
System..::.Object
Microsoft.CommerceServer.Runtime..::.MappedStorageBase
Microsoft.CommerceServer.Runtime.Orders..::.LineItem
Microsoft.CommerceServer.Runtime..::.MappedStorageBase
Microsoft.CommerceServer.Runtime.Orders..::.LineItem