-
-
Save hossien014/ca61e270a693f76959c02ef6f25abea7 to your computer and use it in GitHub Desktop.
The default tracking behavior can be changed at the context instance level:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; | |
var blogs = context.Blogs.ToList(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment