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

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

    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