SQLiteConnectionCreateTableT Method (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:
Unvired.Kernel.SQLite
Assembly:
Unvired.Kernel.UWP (in Unvired.Kernel.UWP.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int CreateTable<T>(
CreateFlags createFlags = CreateFlags.None
)
Public Function CreateTable(Of T) (
Optional createFlags As CreateFlags = CreateFlags.None
) As Integer
public:
generic<typename T>
int CreateTable(
CreateFlags createFlags = CreateFlags::None
)
member CreateTable :
?createFlags : CreateFlags
(* Defaults:
let _createFlags = defaultArg createFlags CreateFlags.None
*)
-> int
Parameters
- createFlags (Optional)
- Type: Unvired.Kernel.SQLiteCreateFlags
Type Parameters
- T
Return Value
Type:
Int32
The number of entries added to the database schema.
See Also