 | 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: 8.2.31040.0 8_2_dev 3db1cb9c, built 2020-09-23 07:47:05 UTC
Syntaxpublic void EditRow(
long rowId,
T newRow
)
public:
void EditRow(
long 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.
ExceptionsException | Condition |
---|
ArgumentNullException | Thrown when newRow is null. |
ObjectNotFoundException | Thrown when there is now row with primary key rowId in the table. |
InsufficientPrivilegeException | Thrown when the connected user hasn't sufficient privileges to write to the specific table. |
See Also