Android.Database.Sqlite.SQLiteDatabase.SetLockingEnabled Method
Control whether or not the SQLiteDatabase is made thread-safe by using locks around critical sections.

Syntax

[Android.Runtime.Register("setLockingEnabled", "(Z)V", "GetSetLockingEnabled_ZHandler")]
[System.Obsolete("deprecated")]
public virtual void SetLockingEnabled (bool lockingEnabled)

Parameters

lockingEnabled
set to true to enable locks, false otherwise

Remarks

Control whether or not the SQLiteDatabase is made thread-safe by using locks around critical sections. This is pretty expensive, so if you know that your DB will only be used by a single thread then you should set this to false. The default is true.

[Android Documentation]

Requirements

Namespace: Android.Database.Sqlite
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1