Android.Database.Sqlite.SQLiteOpenHelper Members

The members of Android.Database.Sqlite.SQLiteOpenHelper are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Create a helper object to create, open, and/or manage a database.
Create a helper object to create, open, and/or manage a database.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
DatabaseNamestring. Return the name of the SQLite database being opened, as given to the constructor.
[read-only]
ReadableDatabaseSQLiteDatabase. Create and/or open a database.
[read-only]
WritableDatabaseSQLiteDatabase. Create and/or open a database that will be used for reading and writing.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Close()
Close any open database object.
OnConfigure(SQLiteDatabase)
Called when the database connection is being configured, to enable features such as write-ahead logging or foreign key support.
abstract
OnCreate(SQLiteDatabase)
Called when the database is created for the first time.
OnDowngrade(SQLiteDatabase, int, int)
Called when the database needs to be downgraded.
OnOpen(SQLiteDatabase)
Called when the database has been opened.
abstract
OnUpgrade(SQLiteDatabase, int, int)
Called when the database needs to be upgraded.
SetWriteAheadLoggingEnabled(bool)
Enables or disables the use of write-ahead logging for the database.