ITable.DeleteOnSubmit(Object) ITable.DeleteOnSubmit(Object) ITable.DeleteOnSubmit(Object) ITable.DeleteOnSubmit(Object) Method

Definição

Coloca uma entidade desta tabela em um estado de pending delete.Puts an entity from this table into a pending delete state.

public:
 void DeleteOnSubmit(System::Object ^ entity);
public void DeleteOnSubmit (object entity);
abstract member DeleteOnSubmit : obj -> unit
Public Sub DeleteOnSubmit (entity As Object)

Parâmetros

entity
Object Object Object Object

A entidade a ser removida.The entity to be removed.

Comentários

As entidades desconectadas devem ser anexadas para que possam ser excluídas.Disconnected entities must be attached before they can be deleted. Chame SubmitChanges para executar a exclusão real no banco de dados.Call SubmitChanges to perform the actual deletion in the database.

Aplica-se a