Click or drag to resize

IEditSessionExtensionsCreateOrder Method

Creates new order on specified table. User must have rights to create orders.

Namespace:  Resto.Front.Api.V4.Extensions
Assembly:  Resto.Front.Api.V4 (in Resto.Front.Api.V4.dll)
Syntax
C#
public static INewOrderStub CreateOrder(
	this IEditSession editSession,
	ITable table
)

Parameters

editSession
Type: Resto.Front.Api.V4.EditorsIEditSession
Edit session for the operation.
table
Type: Resto.Front.Api.V4.Data.Organization.SectionsITable
Table on which order will be created. If table is null, then order will be created on the default table (depending on select iikoFront mode).

Return Value

Type: INewOrderStub

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEditSession. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also