InvalidOperationException: The supplied IQueryable is provided by Entity Framework. To query it efficiently, you must reference the package


Question: How do you solve for question that says"InvalidOperationException: The supplied IQueryable is provided by Entity Framework. To query it efficiently, you must reference the package.
Microsoft.AspNetCore.Components.QuickGrid.EntityFrameworkAdapter and call AddQuickGridEntityFrameworkAdapter on your service collection".


Login to See the Rest of the Answer

Answer: Make sure you add "Microsoft.AspNetCore.Components.QuickGrid.EntityFrameworkAdapter" to your application then inject the dependency in the DI like below:
 services.AddQuickGridEntityFrameworkAdapter();




.Net 7
published
v.0.00




© 2024 - ErnesTech - Privacy
E-Commerce Return Policy