MongoFramework
MongoFramework copied to clipboard
Turn off query tracking on a context level in MongoFramework
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); });
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.