GetLock(IDataObject, Int32):IDataObjectLock

Calls the locks for a data object exerted on it by another data object.

Parameter

target

Type: Onion.Client.IDataObject

This parameter is the data object for which the locks are to be called. However, not all locks that exist for the data object are called, but just those which are exerted by the indicated data object (sourceId).

sourceId

Type: System.Int32

This parameter is the Id of the data object which exerts the locks on the indicated data object.