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.110 -- Release Build+b4bcf74734aa051a9b802d8f3f6ec05bd02af749
public int AddNewOrUpdateRecord(
	T record
)

Parameters

record  T
Record to add or update.

Return Value

Int32
Number of rows affected.

See Also