SqlCommandBuilder<TEntity>.BuildDeleteStatementForKey Method

Creates and returns a DELETE command for the entity whose primary key matches the id parameter.

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public SqlBuilder BuildDeleteStatementForKey(
	Object id
)

Parameters

id

Type: System.Object
The primary key value.

Return Value

Type: SqlBuilder
The DELETE command the entity whose primary key matches the id parameter.

See Also

Reference

SqlCommandBuilder<TEntity> Class
DbExtensions Namespace

© Max Toro Q.