Odata Instance properties Error $select Dot net core 3.1 WebApi Project

Activated Odata Support for Dotnet core 3.1 web API project

Dot core OData packages are installed

In Configure Service added


In Configure Added

app.UseMvc(routeBuilder =>
routeBuilder.MapODataServiceRoute(“odata”, “odata”, GetEdmModel());

Commented UseEndpoints

        //app.UseEndpoints(endpoints =>
        //    endpoints.MapControllers();

After running Odata Instance and querying using the $select model data not getting and getting attached screen error.

.NET Foundation Website | Blog | Projects | Code of Conduct