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: Gemstone.Data.ModelAssembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.166 -- Release Build+4734116ef9caa0a1e84bf70b15935e09ea790ab3
public int AddNewOrUpdateRecord(
T record
)
Public Function AddNewOrUpdateRecord (
record As T
) As Integer
public:
int AddNewOrUpdateRecord(
T record
)
function AddNewOrUpdateRecord(record);
- record T
- Record to add or update.
Int32Number of rows affected.