Template Documentation
IGenericRepositoryTEntityDelete Method |
Marks the given entity as deleted, the entity will be deleted on Save
Namespace: Template.Core.Interface
Assembly: Template.Repository (in Template.Repository.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
TEntity Delete( TEntity entity )
Parameters
- entity
- Type: TEntity
The entity to be removed
Return Value
Type: TEntityThe deleted entity
See Also