SQLiteConnectionInsertOrReplace Method (Object) |
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:
Unvired.Kernel.SQLite
Assembly:
Unvired.Kernel.UWP (in Unvired.Kernel.UWP.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int InsertOrReplace(
Object obj
)
Public Function InsertOrReplace (
obj As Object
) As Integer
public:
int InsertOrReplace(
Object^ obj
)
member InsertOrReplace :
obj : Object -> int
Parameters
- obj
- Type: SystemObject
The object to insert.
Return Value
Type:
Int32
The number of rows modified.
See Also