Updates entities by executing SQL directly against the database. NB. No entities are
materialized and therefore no callbacks run, cached entities are not updated in 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 Update( Query query, Object attributes ) |
Visual Basic (Declaration) |
---|
Public MustOverride Sub Update ( _ query As Query, _ attributes As Object _ ) |
Parameters
- query
- Type: Mindscape.LightSpeed.Querying..::.Query
A query used to determine the entities to update.
- attributes
- Type: System..::.Object
The attributes to be updated. This argument can either be an IDictionary<(Of <(TKey, TValue>)>), or, an object whose properties correspond to the target attributes (useful when using an anonymous type).