SQLiteConnectionInsertOrReplace Method (Object, Type) |
Inserts the given object and retrieves its
auto incremented primary key if it has one.
If a UNIQUE constraint violation occurs with
some pre-existing object, this function deletes
the old object.
Namespace:
SQLite
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax public int InsertOrReplace(
Object obj,
Type objType
)
Parameters
- obj
- Type: SystemObject
The object to insert.
- objType
- Type: SystemType
The type of object to insert.
Return Value
Type:
Int32
The number of rows modified.
See Also