Click or drag to resize
OrderInfoProviderGetOrders Method (Int32)

Note: This API is now obsolete.

Returns a query for all orders for specified site.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use OrderInfoProviderExtensions.GetBySite(IOrderInfoProvider, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - OrderInfo.Provider.")]
public static ObjectQuery<OrderInfo> GetOrders(
	int siteId
)

Parameters

siteId
Type: SystemInt32
Site ID

Return Value

Type: ObjectQueryOrderInfo
See Also