Class OrderAddressCollection
A collection of addresses for the particular order.
Inheritance
System.Object
OrderAddressCollection
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<OrderAddress>
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 OrderAddressCollection : MetaStorageCollectionBase<OrderAddress>, IList, ICollection, IEnumerable<OrderAddress>, IEnumerable
Constructors
OrderAddressCollection()
Initializes a new instance of the OrderAddressCollection class.
Declaration
public OrderAddressCollection()
OrderAddressCollection(OrderGroup)
Initializes a new instance of the OrderAddressCollection class.
Declaration
public OrderAddressCollection(OrderGroup parent)
Parameters
Type | Name | Description |
---|---|---|
OrderGroup | parent | The parent. |
Properties
Parent
Gets the parent.
Declaration
public OrderGroup Parent { get; }
Property Value
Type | Description |
---|---|
OrderGroup | The parent. |
Methods
Add(OrderAddress)
Adds the specified value.
Declaration
public override int Add(OrderAddress value)
Parameters
Type | Name | Description |
---|---|---|
OrderAddress | value | The value. |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
Mediachase.Commerce.Storage.MetaStorageCollectionBase<Mediachase.Commerce.Orders.OrderAddress>.Add(Mediachase.Commerce.Orders.OrderAddress)
AddNew()
Adds the new.
Declaration
public OrderAddress AddNew()
Returns
Type | Description |
---|---|
OrderAddress |
ValidateDeletedItems()
Validates item in DeletedList, to find for orphan item (having null Parent) and remove it.
Declaration
[Obsolete("This method is no longer used. Deleted items in DeletedList will be removed automatically when calling AcceptChanges(). Will remain at least until June 2016.")]
public void ValidateDeletedItems()
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable