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.141 -- Release Build+5f6e192e4b7ed0f35a118ae12c275adc521bb865
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.