Hi,
I am in new in LINQ query so my question is can we use AsNoTracking in insert statement?if yes give me the example.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satya KarkiPosted Apr 23, 2021, 10:10 AM
Rajesh GamiPosted Jul 19, 2022, 6:03 AM
We don't need AsNoTracking insert query,
However, if you return a large amount of entities, then you think about using the AsNoTracking method whenever you do a read operation to disconnect those entities.
Rijwan AnsariPosted Apr 23, 2021, 9:49 AM
Jignesh KumarPosted Apr 23, 2021, 6:20 AM