SQLiteConnectionDelete Method (Object) |
Deletes the given object from the database using its 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 Delete(
Object objectToDelete
)
Public Function Delete (
objectToDelete As Object
) As Integer
public:
int Delete(
Object^ objectToDelete
)
member Delete :
objectToDelete : Object -> int
Parameters
- objectToDelete
- Type: SystemObject
The object to delete. It must have a primary key designated using the PrimaryKeyAttribute.
Return Value
Type:
Int32
The number of rows deleted.
See Also