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.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
public abstract void Remove( Query query ) |
Visual Basic (Declaration) |
---|
Public MustOverride Sub Remove ( _ query As Query _ ) |
Parameters
- query
- Type: Mindscape.LightSpeed.Querying..::.Query
A query used to determine which entities to delete.