Click or drag to resize

IOperationServiceGetHostDatabaseId Method

Returns database id for local terminal, where the plugin is currently being executed.

Namespace:  Resto.Front.Api
Assembly:  Resto.Front.Api.V9 (in Resto.Front.Api.V9.dll)
Syntax
C#
Guid GetHostDatabaseId()

Return Value

Type: Guid
Remarks
Important to monitor the database id, when reading incrementally data based on revision. The revision grows monotonically only within this database. The database id cannot change while the terminal is running. It's enough to check the database id once, when starting the terminal. If the database id has changed when starting the terminal, you need to read the data starting from revision zero.
See Also