Note that function of AddNewOrUpdateRecord is still dependent on detection of default primary keys values.
If a model use intends to insert a record with default values for primary keys, user will need to manually differentiate between "add" and "update" operation in code and not use AddNewOrUpdateRecord function in this scenario.
Note that function of
AddNewOrUpdateRecord
is still dependent on detection of default primary keys values.If a model use intends to insert a record with default values for primary keys, user will need to manually differentiate between "add" and "update" operation in code and not use
AddNewOrUpdateRecord
function in this scenario.