Database.Remove Method
Executes a DELETE command for the specified entity.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Syntax
public void Remove(
Object entity
)
Parameters
entity
Type: System.Object
The entity whose DELETE command is to be executed.
Remarks
This method is a shortcut for db.Table(entity.GetType()).Remove(entity)
.
See Also
Reference
Database Class
DbExtensions Namespace
SqlTable.Remove(Object)