Page 1 of 1

how to implement lock in cachedUpdate can i get sample

Posted: Wed 30 Jun 2010 13:18
by prakashKB
Dear Sir,

how to implement lock in cachedUpdate can i get sample.

how to check unique constrains in Cached updates

Regards
Prakash

Posted: Thu 01 Jul 2010 10:08
by bork
Hello

Lock in the cached update mode was added since ODAC 6.90.0.59 version. To lock records you should set the LockMode property to the lmLockImmediate or lmLockDelayed values.

Unique constrains in the cached update mode will be checked on storing records to database (on calling the ApplyUpdates method).