Android.Database.Sqlite.SQLiteOpenHelper.OnCreate Method
Called when the database is created for the first time.

Syntax

[Android.Runtime.Register("onCreate", "(Landroid/database/sqlite/SQLiteDatabase;)V", "GetOnCreate_Landroid_database_sqlite_SQLiteDatabase_Handler")]
public abstract void OnCreate (SQLiteDatabase db)

Parameters

db
The database.

Remarks

Called when the database is created for the first time. This is where the creation of tables and the initial population of the tables should happen.

[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