iikoFront Api V4 Code Reference
iikoFront Api V4 Code Reference
Resto.Front.Api.V4.Extensions
IEditSessionExtensions Class
IEditSessionExtensions Methods
ChangeReserveTable Method
CreateBanquet Method
CreateOrder Method
CreateReserve Method
IEditSessionExtensions
.
CreateOrder 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#
Copy
public
static
INewOrderStub
CreateOrder
(
this
IEditSession
editSession
,
ITable
table
)
Parameters
editSession
Type:
Resto.Front.Api.V4.Editors
.
IEditSession
Edit session for the operation.
table
Type:
Resto.Front.Api.V4.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
IEditSessionExtensions Class
Resto.Front.Api.V4.Extensions Namespace