Click or drag to resize

DatabaseAccessorTEditRow Method

Edit a row from a specific table (changes are saved at once).

Namespace:  LynceeTec.Eucalyptus
Assembly:  LynceeTec.Eucalyptus (in LynceeTec.Eucalyptus.dll) Version: 9.2.6612.0 , built 2022-07-14 10:43:30 UTC
Syntax
public void EditRow(
	long rowId,
	T newRow
)

Parameters

rowId
Type: SystemInt64
The primary key of the row to modify.
newRow
Type: T
The edited row which will replace the one in the database.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when newRow is null.
ObjectNotFoundExceptionThrown when there is now row with primary key rowId in the table.
InsufficientPrivilegeExceptionThrown when the connected user hasn't sufficient privileges to write to the specific table.
See Also