LinqConnect Documentation
Devart.Data.Linq Namespace / ITable Interface / DeleteOnSubmit Method
The entity to be removed.

DeleteOnSubmit Method (ITable)
Puts an entity from this table into a pending delete state.
Syntax
'Declaration
 
Sub DeleteOnSubmit( _
   ByVal entity As Object _
) 
 

Parameters

entity
The entity to be removed.
Remarks
Disconnected entities must be attached before they can be deleted. Call SubmitChanges to perform the actual deletion in the database.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also