I'm using OData in WebAPI (with Entity Framework models) and it seems to be working a treat. However I have an entity/controller called NominalAccounts, where the controller is called 'NominalAccountsController', the DB entity is 'NominalAccount' and the OData path I want to use is 'nominal_accounts' (i.e. http://test/api/nominal_accounts ). So I have the below code in the Startup class:
builder.EntitySet<NominalAccount>("nominal_accounts");
But this seems to fail because the it looks for the controller with an underscore. Is there a way to define, for an entity set, which controller it should look for?