CreateRecord(RealTimeSetRecord,Int32,RTChangeNotification) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Creates a new record in the RealTime database (RTDB), given a local copy of the new record.
public virtual RealTimeSetRecord CreateRecord(
RealTimeSetRecord record,
int recordNumber,
RTChangeNotification notification
)
public:
virtual RealTimeSetRecord^ CreateRecord(
RealTimeSetRecord^ record,
int recordNumber,
RTChangeNotification notification
)
Parameters
- record
- The local copy of the new record that will be generated.
- recordNumber
- The record number (slot number) to be created. Set it to zero for the next available slot number.
- notification
- The change notification for the new record. When the table is unlocked, the request will be sent to either the publisher or replication server depending on this parameter value.
Return Value
The new record number.
| Exception | Description |
|---|---|
| OASySDNA.Common.DNAException | Either the record is not bound to any table, is a local copy, or is already locked. |