TableOperationsTAddNewRecordAsync(T, CancellationToken) Method

Adds the specified modeled table record to the database.

Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.169 -- Release Build+adcc694938ddb0c37a2b1414eab017f00bb57688
public Task<int> AddNewRecordAsync(
	T record,
	CancellationToken cancellationToken
)

Parameters

record  T
Record to add.
cancellationToken  CancellationToken
Propagates notification that operations should be canceled.

Return Value

TaskInt32
Number of rows affected.

See Also