Dynamicweb.eCommerce.Orders Namespace : OrderLineFieldGroupRelation Class |
'Declaration
Public Class OrderLineFieldGroupRelation
public class OrderLineFieldGroupRelation
class MyPage : System.Web.UI.Page { private void SaveGroupOrderlineRelations() { //Save Orderline field relations. First delete all, then save. OrderLineFieldGroupRelation.DeleteAll(groupId); int rowCount = Base.ChkInteger(Base.Request["OrderLineFieldCount"]); for (int i = 0; i < rowCount; i++) { string fieldSystemName = Base.ChkString(Base.Request[string.Format("OrderLineFieldHidden_{0}", i)]); if (fieldSystemName != "") { OrderLineFieldGroupRelation relation = new OrderLineFieldGroupRelation(fieldSystemName, groupId); relation.Save(); } } grp.ClearOrderLineFieldCache(); } }
System.Object
Dynamicweb.eCommerce.Orders.OrderLineFieldGroupRelation
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2