SqlCommandBuilder<TEntity>.BuildDeleteStatementForEntity Method

Creates and returns a DELETE command for the specified entity.

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public SqlBuilder BuildDeleteStatementForEntity(
	TEntity entity
)

Parameters

entity

Type: TEntity
The entity whose DELETE command is to be created.

Return Value

Type: SqlBuilder
The DELETE command for entity.

See Also

Reference

SqlCommandBuilder<TEntity> Class
DbExtensions Namespace

© Max Toro Q.