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
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: 10.8.0Syntax
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