ITableOperationsAddNewOrUpdateRecordAsync Method

Adds the specified modeled table record to the database if the record has not defined any of its primary key values; otherwise, the database will be updated with the specified modeled table record.

Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.138 -- Release Build+f7ceb3e02ea3c92b27e86b99ae16cee337a20b9e
Task<int> AddNewOrUpdateRecordAsync(
	Object record,
	CancellationToken cancellationToken
)

Parameters

record  Object
Record to add or update.
cancellationToken  CancellationToken
Propagates notification that operations should be canceled.

Return Value

TaskInt32
Number of rows affected.

See Also