SQLiteConnectionCreateTable Method (Type, CreateFlags) |
Executes a "create table if not exists" on the database. It also
creates any specified indexes on the columns of the table. It uses
a schema automatically generated from the specified type. You can
later access this schema by calling GetMapping.
Namespace:
SQLite
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax public int CreateTable(
Type ty,
CreateFlags createFlags = CreateFlags.None
)
Parameters
- ty
- Type: SystemType
Type to reflect to a database table. - createFlags (Optional)
- Type: SQLiteCreateFlags
Optional flags allowing implicit PK and indexes based on naming conventions.
Return Value
Type:
Int32
The number of entries added to the database schema.
See Also