|
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.ModelAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.182-beta
Syntax public int AddNewOrUpdateRecord(
T record
)
Public Function AddNewOrUpdateRecord (
record As T
) As Integer
public:
int AddNewOrUpdateRecord(
T record
)
member AddNewOrUpdateRecord :
record : 'T -> int
function AddNewOrUpdateRecord(record);
View SourceParameters
- record T
- Record to add or update.
Return Value
Int32Number of rows affected.
See Also