iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.Extensions
EditSessionExtensions Class
EditSessionExtensions Methods
ChangeReserveTable Method
CreateBanquet Method
CreateOrder Method
CreateReserve Method
EditSessionExtensions
CreateOrder Method
Creates new order on specified table. User must have rights to create orders.
Namespace:
Resto.Front.Api.Extensions
Assembly:
Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll)
Syntax
C#
Copy
public
static
INewOrderStub
CreateOrder
(
this
IEditSession
editSession
,
ITable
table
)
Parameters
editSession
Type:
Resto.Front.Api.Editors
IEditSession
Order will be created within the specified session.
table
Type:
Resto.Front.Api.Data.Organization.Sections
ITable
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
Reference
EditSessionExtensions Class
Resto.Front.Api.Extensions Namespace