Try our conversational search powered by Generative AI!

Class OrderFormDiscountCollection

Collection of Order Forms.

Inheritance
System.Object
OrderFormDiscountCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<OrderFormDiscount>
System.Collections.IEnumerable
Namespace: Mediachase.Commerce.Orders
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class OrderFormDiscountCollection : SimpleObjectCollectionBase<OrderFormDiscount>, IList, ICollection, IEnumerable<OrderFormDiscount>, IEnumerable

Constructors

OrderFormDiscountCollection()

Initializes a new instance of the OrderFormDiscountCollection class.

Declaration
public OrderFormDiscountCollection()

OrderFormDiscountCollection(OrderForm)

Initializes a new instance of the OrderFormDiscountCollection class.

Declaration
public OrderFormDiscountCollection(OrderForm parent)
Parameters
Type Name Description
OrderForm parent

The parent.

Properties

Parent

Gets the parent OrderForm.

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

The parent.

Methods

Add(OrderFormDiscount)

Adds the specified value.

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

The value.

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

Implements

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