Reserves and returns key values for objects that use automatically numbered keys (like Contact, Address, Order, etc.)
Namespace: Asi.iBOAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
Parameters
- server
- Type: Asi.iBO..::..DataServer
The existing DataServer instance used to communicate with the database.
- counterName
- Type: System..::..String
The name of the counter from which the next key is desired. Usually the name of the database table
- howMany
- Type: System..::..Int32
The number of sequential keys to reserve. Reserving and applying a block of number is more
efficient that getting them one at a time.
Return Value
The first number in the block.
See Also