TableOperationsTAddNewOrUpdateRecord 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.175 -- Release Build+91b0558f24202955cfa8fd9017e10ef18d068fb3
public int AddNewOrUpdateRecord(
	T record
)

Parameters

record  T
Record to add or update.

Return Value

Int32
Number of rows affected.

See Also