Deletes entities by executing SQL directly against the database. NB. No entities are materialized and therefore no callbacks run, entities are not removed from the second-level cache or full-text search index etc.

Namespace:  Mindscape.LightSpeed.ServiceModel
Assembly:  Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public override void Remove(
	Query query
)
Visual Basic (Declaration)
Public Overrides Sub Remove ( _
	query As Query _
)

Parameters

query
Type: Mindscape.LightSpeed.Querying..::.Query
A query used to determine which entities to delete.

Implements

IUnitOfWork..::.Remove(Query)
IUnitOfWork..::.Remove(Query)

See Also