Updating Database Values Database Values

<< Click to Display Table of Contents >>

Navigation:  Databases >

Updating Database Values Database Values

The simplest way to update the value of a database row is by calling the SetValue method of a BncsDatabase object obtained by calling either AddDatabase or GetDatabase on the BncsFramework static.

 

The BncsFramework static also provides a SetDatabaseValue method for directly updating the value of a database row without first obtaining a BncsDatabase object.  Note that this method will work irrespective of whether the database has been initialized or not - if it has not, the database modification message will be sent directly to the BNCS network.