WriteData<T>(String,T,RTChangeNotification) Method
- Last UpdatedApr 08, 2026
- 1 minute read
Generic method; Writes a field into the locked record
Supports the following primitive types: bool, byte, double, float, int, long, short, uint, ulong, and ushort.
void WriteData<T>(
string fieldName,
T newValue,
OASySDNA.RealTime.HighPerformanceSetDB.RTChangeNotification notification
)
where T: new(), struct
void WriteDatageneric<typename T>
(
String^ fieldName,
T^ newValue,
OASySDNA.RealTime.HighPerformanceSetDB.RTChangeNotification notification
)
where T: gcnew(), value class
Parameters
- fieldName
- The name of the string field to write to. Must correspond correctly with the specified primitive type.
- newValue
- The new value to write
- notification
- Change notification for data. When record is unlocked, request will be sent to publisher or replication server depending on this parameter value.
Type Parameters
- T