MongoFramework icon indicating copy to clipboard operation
MongoFramework copied to clipboard

Turn off query tracking on a context level in MongoFramework

Open aboah opened this issue 2 years ago • 1 comments

I want to find out if we can Turn off query tracking on a context level in MongoDbContext just like EntityFramework core, such as the below snippet:

services.AddDbContext<YourDbContext>(options => { options.UseQueryTrackingBehavior(QueryTrackingBehavior.NoTracking); });

aboah avatar Dec 10 '22 22:12 aboah

Hey @aboah , thanks for raising this issue. Currently that isn't supported but that is a good idea.

I can't give a firm timeline when I might add it but I do like it and think it would be a good addition.

Turnerj avatar Dec 10 '22 23:12 Turnerj