Persist.NET Documentation Class Library

PersistenceManagerFactory.DeleteObject Method 

Delete the sepcified object from the database This method delete also all the objects associated where the "DeleteAutomatic" flag is specified.

[Visual Basic]
Public Sub DeleteObject( _
   ByVal obj As PersistentObject _
)
[C#]
public void DeleteObject(
   PersistentObject obj
);

Parameters

obj
the object to delete

See Also

PersistenceManagerFactory Class | Persist Namespace