SQLiteOpenHelper.OnCreate(SQLiteDatabase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the database is created for the first time.
[Android.Runtime.Register("onCreate", "(Landroid/database/sqlite/SQLiteDatabase;)V", "GetOnCreate_Landroid_database_sqlite_SQLiteDatabase_Handler")]
public abstract void OnCreate (Android.Database.Sqlite.SQLiteDatabase? db);
[<Android.Runtime.Register("onCreate", "(Landroid/database/sqlite/SQLiteDatabase;)V", "GetOnCreate_Landroid_database_sqlite_SQLiteDatabase_Handler")>]
abstract member OnCreate : Android.Database.Sqlite.SQLiteDatabase -> unit
Parameters
The database.
- Attributes
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.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.