SQLiteConnectionInsert Method (Object, String, Type) |
Inserts the given object and retrieves its
auto incremented primary key if it has one.
Namespace:
Unvired.Kernel.SQLite
Assembly:
Unvired.Kernel.UWP (in Unvired.Kernel.UWP.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int Insert(
Object obj,
string extra,
Type objType
)
Public Function Insert (
obj As Object,
extra As String,
objType As Type
) As Integer
public:
int Insert(
Object^ obj,
String^ extra,
Type^ objType
)
member Insert :
obj : Object *
extra : string *
objType : Type -> int
Parameters
- obj
- Type: SystemObject
The object to insert.
- extra
- Type: SystemString
Literal SQL code that gets placed into the command. INSERT {extra} INTO ...
- objType
- Type: SystemType
The type of object to insert.
Return Value
Type:
Int32
The number of rows added to the table.
See Also