November Happy Hour will be moved to Thursday December 5th.

Class OrderFormCollection

Collection of order forms.

Inheritance
System.Object
OrderFormCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<OrderForm>
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
public class OrderFormCollection : MetaStorageCollectionBase<OrderForm>, IList, ICollection, IEnumerable<OrderForm>, IEnumerable

Constructors

OrderFormCollection()

Initializes a new instance of the OrderFormCollection class.

Declaration
public OrderFormCollection()

OrderFormCollection(OrderGroup)

Initializes a new instance of the OrderFormCollection class.

Declaration
public OrderFormCollection(OrderGroup parent)
Parameters
Type Name Description
OrderGroup parent

The parent.

Properties

Item[String]

Gets the OrderForm with the specified name.

Declaration
public OrderForm this[string name] { get; }
Parameters
Type Name Description
System.String name
Property Value
Type Description
OrderForm

Parent

Gets the parent order group.

Declaration
public OrderGroup Parent { get; }
Property Value
Type Description
OrderGroup

The parent.

Methods

Add(OrderForm)

Adds the specified value.

Declaration
public override int Add(OrderForm value)
Parameters
Type Name Description
OrderForm value

The value.

Returns
Type Description
System.Int32
Overrides
Mediachase.Commerce.Storage.MetaStorageCollectionBase<Mediachase.Commerce.Orders.OrderForm>.Add(Mediachase.Commerce.Orders.OrderForm)

AddNew()

Adds a new OrderForm to the collection and assigns it unique OrderFormId

Declaration
public OrderForm AddNew()
Returns
Type Description
OrderForm

Implements

System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable