MyDAC

TCustomMyDataSet.LockTable Method

Locks table for the current connection.

Class

TCustomMyDataSet

Syntax

procedure LockTable(LockType: TLockType);

Parameters
LockType
Specifies the type of the table locking.

Remarks

Call the LockTable method to lock table for the current connection. The main purpose of this method is to speed up working with the table.

Table can be released on:

If a query has several tables then a table specified in TMyQuery.UpdatingTable is used.

Note: This method is uncompatible with the FetchAll property set to False.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback