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

Parameters

record  T
Record to add or update.

Return Value

Int32
Number of rows affected.

See Also