Class OrderFieldValueCollection
- Namespace
- Dynamicweb.Ecommerce.Orders
- Assembly
- Dynamicweb.Ecommerce.dll
Represents a collection of the OrderFieldValue objects.
[Serializable]
public class OrderFieldValueCollection : Collection<OrderFieldValue>, IList<OrderFieldValue>, ICollection<OrderFieldValue>, IReadOnlyList<OrderFieldValue>, IReadOnlyCollection<OrderFieldValue>, IEnumerable<OrderFieldValue>, IList, ICollection, IEnumerable
- Inheritance
-
OrderFieldValueCollection
- Implements
- Inherited Members
- Extension Methods
Constructors
OrderFieldValueCollection()
Initializes a new instance of the OrderFieldValueCollection class.
public OrderFieldValueCollection()
OrderFieldValueCollection(DataRow)
Initializes a new instance of the OrderFieldValueCollection class.
[Obsolete("Get the order and read values from Order.OrderFieldValues instead.")]
public OrderFieldValueCollection(DataRow dataReader)
Parameters
dataReader
DataRow- The DataReader.
OrderFieldValueCollection(IDataReader)
Initializes a new instance of the OrderFieldValueCollection class.
[Obsolete("Get the order and read values from Order.OrderFieldValues instead.")]
public OrderFieldValueCollection(IDataReader dataReader)
Parameters
dataReader
IDataReader- The DataReader.
Methods
ClearItems()
protected override void ClearItems()
GetOrderFieldValue(string)
Gets the OrderFieldValue object.
public OrderFieldValue GetOrderFieldValue(string systemName)
Parameters
systemName
string- Name of the system.
Returns
InsertItem(int, OrderFieldValue)
protected override void InsertItem(int index, OrderFieldValue item)
Parameters
index
intitem
OrderFieldValue
RemoveItem(int)
protected override void RemoveItem(int index)
Parameters
index
int
Save(DataRow)
Saves the specified row.
[Obsolete("Set field values in Order.OrderFieldValues and then save the order instead.")]
public void Save(DataRow dataRow)
Parameters
dataRow
DataRow- The DataRow.
SetItem(int, OrderFieldValue)
protected override void SetItem(int index, OrderFieldValue item)
Parameters
index
intitem
OrderFieldValue