# Disable change tracking when using data service?

**URL:** <https://forum.litium.com/t/disable-change-tracking-when-using-data-service/1452>\
**Category:** Questions\
**Created:** [April 23, 2020, 11:27am UTC](https://forum.litium.com/t/disable-change-tracking-when-using-data-service/1452 "2020-04-23T11:27:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rikard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/rikard/32/147_2.png) [@Rikard](https://forum.litium.com/u/Rikard)\
**Post date:** [April 23, 2020, 11:27am UTC](https://forum.litium.com/t/disable-change-tracking-when-using-data-service/1452/1 "2020-04-23T11:27:01Z")

</div>

Is there any way to disable the entity framework change tracking when using the data service to query Person, Variant, etc.?

Alternatively, if that is not possible, is there a simple way to use for example LitiumDbContext to achieve the same thing without having to resort to raw SQL queries?

If there is, concrete code examples would be greatly appreciated. Thanks!

Litium version: 7.4

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [April 23, 2020, 11:52am UTC](https://forum.litium.com/t/disable-change-tracking-when-using-data-service/1452/2 "2020-04-23T11:52:54Z")

</div>

For the queries the change tracking should be disabled. Please create a bug if that’s not the case.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [May 21, 2020, 11:52am UTC](https://forum.litium.com/t/disable-change-tracking-when-using-data-service/1452/3 "2020-05-21T11:52:57Z")

</div>

Closed on May 21, 2020, 11:52am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
