SQLiteConnectionUpdate Method (Object, Type) |
Updates all of the columns of a table using the specified object
except for its primary key.
The object is required to have a primary key.
Namespace:
Unvired.Kernel.SQLite
Assembly:
Unvired.Kernel.UWP (in Unvired.Kernel.UWP.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic int Update(
Object obj,
Type objType
)
Public Function Update (
obj As Object,
objType As Type
) As Integer
public:
int Update(
Object^ obj,
Type^ objType
)
member Update :
obj : Object *
objType : Type -> int
Parameters
- obj
- Type: SystemObject
The object to update. It must have a primary key designated using the PrimaryKeyAttribute.
- objType
- Type: SystemType
The type of object to insert.
Return Value
Type:
Int32
The number of rows updated.
See Also