Table of Contents

Class OrderLineFieldGroupRelation

Namespace
Dynamicweb.Ecommerce.Orders
Assembly
Dynamicweb.Ecommerce.dll
Represents information about an order line field group relations.
[Obsolete("Use Services.OrderLineFields to manage relations instead.")]
public class OrderLineFieldGroupRelation
Inheritance
OrderLineFieldGroupRelation
Inherited Members

Constructors

OrderLineFieldGroupRelation(string, string)

Initializes a new instance of the OrderLineFieldGroupRelation class.
[Obsolete("Use Services.OrderLineFields to manage relations instead.")]
public OrderLineFieldGroupRelation(string orderLineFieldsSystemName, string groupId)

Parameters

orderLineFieldsSystemName string
System name of the order line field .
groupId string
The group ID.

OrderLineFieldGroupRelation(string, string, string)

Initializes a new instance of the OrderLineFieldGroupRelation class.
[Obsolete("Use Services.OrderLineFields to manage relations instead.")]
public OrderLineFieldGroupRelation(string orderLineFieldsSystemName, string groupID, string shopID)

Parameters

orderLineFieldsSystemName string
System name of the order line field .
groupID string
The group ID.
shopID string
The shop ID.

Properties

AutoId

Gets the AutoId of the order line field
public int AutoId { get; }

Property Value

int

GroupId

Gets or sets the group ID.
public string GroupId { get; set; }

Property Value

string
The group ID.

OrderLineFieldSystemName

Gets or sets the system name of the order line field.
public string OrderLineFieldSystemName { get; set; }

Property Value

string
The system name of the order line field.

ShopID

Gets or sets the shop ID.
public string ShopID { get; set; }

Property Value

string
The shop ID.

Methods

Delete(int)

Delete relation by auto id
[Obsolete("Use Services.OrderLineFields instead.")]
public static void Delete(int autoId)

Parameters

autoId int
Auto id

DeleteAll(string)

Deletes all relations from specified group.
[Obsolete("Use Services.OrderLineFields.DeleteOrderLineFieldRelationsForGroup instead.")]
public static bool DeleteAll(string groupId)

Parameters

groupId string
The group ID.

Returns

bool
true if success; otherwise, false.

DeleteByShopID(string)

Deletes all relations from specified shop.
[Obsolete("Use Services.OrderLineFields.DeleteOrderLineFieldRelationsForShop instead.")]
public static bool DeleteByShopID(string shopID)

Parameters

shopID string
The shop ID.

Returns

bool
true if success; otherwise, false.

DeleteBySystemName(string)

Deletes the specified instance.
[Obsolete("Use Services.OrderLineFields.DeleteOrderLineFieldRelationsBySystemName instead.")]
public static bool DeleteBySystemName(string sysName)

Parameters

sysName string
System name.

Returns

bool

Save()

Saves this instance.
[Obsolete("Use Services.OrderLineFields.SaveOrderLineFieldRelationForGroup or Services.OrderLineFields.SaveOrderLineFieldRelationForShop instead. Alternatively, use the bulk save methods Services.OrderLineFields.SaveOrderLineFieldRelationsForGroup or Services.OrderLineFields.SaveOrderLineFieldRelationsForShop.")]
public bool Save()

Returns

bool
To top