Directly deletes an entity (or multiple entities) in the database

Namespace: MonoSoftware.LLBLGen
Assembly: MonoSoftware.LLBLGen (in MonoSoftware.LLBLGen.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
public virtual int DeleteEntitiesDirectly(
	Type typeOfEntity,
	IRelationPredicateBucket filter
)
Visual Basic
Public Overridable Function DeleteEntitiesDirectly ( 
	typeOfEntity As Type,
	filter As IRelationPredicateBucket
) As Integer
Visual C++
public:
virtual int DeleteEntitiesDirectly(
	Type^ typeOfEntity, 
	IRelationPredicateBucket^ filter
)
F#
abstract DeleteEntitiesDirectly : 
        typeOfEntity : Type * 
        filter : IRelationPredicateBucket -> int 
override DeleteEntitiesDirectly : 
        typeOfEntity : Type * 
        filter : IRelationPredicateBucket -> int 

Parameters

typeOfEntity
Type: System..::..Type
The type of the entity
filter
Type: IRelationPredicateBucket
Filter to use

Return Value

Type: Int32
Number of deleted entities

Implements

IRepository..::..DeleteEntitiesDirectly(Type, IRelationPredicateBucket)

See Also