TurnerSoftware / MongoFramework

An "Entity Framework"-like interface for MongoDB
MIT License
392 stars 35 forks source link

MongoFrameworkQueryProvider CreateQuery method not implemented. #383

Open joelsteventurner opened 4 months ago

joelsteventurner commented 4 months ago

I am trying to use System.Linq.Dynamic.Core with MongoFramework to achieve text based ordering for a UI,

e.g. query = query.OrderBy("Name");

Under the hood this library is using the LinqProdivder's CreateQuery method.

The MongoFrameworkQueryProvider class doesn't have this method implemented, so I get the following exception:

The method or operation is not implemented. at MongoFramework.Infrastructure.Linq.MongoFrameworkQueryProvider\u00601.CreateQuery(Expression expression)