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.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
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