Manages customers order forms.
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
is a container that holds line items (products) in addition to other collections. Most commerce sites need a single order form per order. In some business cases, this abstraction is necessary to model logical sub-orders within the context of the overall order.
For example, a large corporation might have multiple smaller groups -- accounting, engineering, and marketing. A site could expose the order form concept so each logical group could have their own order form within the context of a single order.
For backwards compatibility, during the RunPipeline method a pipeline invocation is performed for each order form.
represents a collection of line items. It implements IEnumerable, to allow for enumeration over all the strongly typed and non-strongly typed properties of the order form. An is uniquely identifiable by its order form ID. Order forms must be associated with an order group in order to save the order form to an underlying data store. Order forms are created as stand alone entities, and are added to an OrderFormCollection. All properties and methods of the , unless explicitly called out otherwise, will behave the same whether or not the has been added to the OrderFormCollection.