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

Parameters

record  T
Record to add or update.

Return Value

Int32
Number of rows affected.

See Also