TurboDB ADO.NET Data Provider

TurboDBLockType Enumeration

Previous  Top 

Feature supported only in TurboDB Win32 for ADO.NET

Indicates the kind of lock applied on a database table.


public enum TurboDBLockType



A read lock prevents other sessions from modifying the database table. This includes appending new rows. Any number of read locks can be placed on a table from any number of sessions at the same time.


A write lock prevents other sessions from accessing the database table in any way. A write lock cannot be placed on a table, if there is already a write lock or read lock set by another session.


TurboDB Managed does not support this type because it has no locking capabilities.

Requirements for TurboDB Native

Namespace: DataWeb.TurboDB
Platforms: Windows 98, Windows ME, Windows NT 4, Windows 2000, Windows XP
Version Information: .NET Framework 1.1, 2.0
Assembly: DataWeb.TurboDB (for .NET Framework 1.1) or DataWeb.TurboDB.Native20.Provider (for .NET Framework 2.0)

See also

Shared Tables | Table Locks