FDO .NET API Reference |
Feature Data Objects |
OSGeo::FDO::Commands::Locking::IAcquireLock Interface Reference
[OSGeo::FDO::Commands::Locking]
Inherited by OSGeo::FDO::Commands::Locking::IAcquireLockImp.
Inheritance diagram for OSGeo::FDO::Commands::Locking::IAcquireLock:
[legend]
Detailed Description
The IAcquireLock interface locks feature instances of a given class that match the specified criteria. Input to the acquire lock command includes the name of the class, the lock type, the lock strategy, and filter criteria by which to identify the instances to be locked. The filter may be specified either as text or as an expression tree (most likely produced by a query builder). The lock type value is one of.
()
- LockType_Shared
- LockType_Exclusive
- LockType_Transaction
- LockType_LongTransactionExclusive
- LockType_AllLongTransactionExclusive
If the lock strategy has a value of partial, the command returns an ILockConflictReader list which contains all of the feature instances specified in the filter that are already locked by someone else. The command returns an empty ILockConflictReader list if all of the feature instances specified in the filter were successfully locked.
Comments or suggestions? Send us feedback. |