Click or drag to resize

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.

Namespace: GSF.Data.Model
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public int AddNewOrUpdateRecord(
	T record
)
View Source

Parameters

record  T
Record to add or update.

Return Value

Int32
Number of rows affected.
See Also