My assignment has the following comment on the lock(int) method: Locks a record so that it can only be updated or deleted by this client.. So what I am thinking is to only use the physical locking (ie locking on the database file) when reading a record. An additional record locking (along with physical locking) will be only used when updating/deleting a record.
Do you think it is an appropriate approach to the read method?
[ December 08, 2005: Message edited by: Alex Sharkoff ]
Post by:Andrew Monkhouse
, Marshal Commander
I think that is suitable for the read method.
Post by:Alex Sharkoff
, Ranch Hand
thanks a lot, Andrew.
This thread has been viewed 724 times.
All times above are in ranch (not your local) time.
The current ranch time is Oct 15, 2018 15:46:29.