Just wanted peoples opinions on a scenario:
Would it be more efficient to:
- Select a record with change tracking turned off and then if it needs to be updated reattach the object to the context for update?
- or -
- Select a record with change tracking turned on just in case the record needs to be updated?
Or is this trivial?
My scenario is that we have a health check routine that does a select on a table every 10 seconds and very rarely needs to be updated (Only updates the record if a new version has been deployed). So should we do the health check with change tracking turned off turned on?