Answer the question
In order to leave comments, you need to log in
How to create an ORM service in .NET Core?
The ASP .NET Framework has the ability to create a "database first" database model and use the DataService to quickly make an ORM service. Next, using Unchase oData, create classes in the client program for working with the database through the service.
How to do similar on ASP .NET Core?
Z.Y.
I have already installed EF on .NET Core, made a context and models from the database, connected the oData service, made a couple of controllers based on models, but there are more than 130 models (tables), how can I make one controller for the entire context? And how then to create on the basis of this classes in the client program? Maybe there is an easier way?
stackoverflow is silent on this matter) if necessary, I can provide the code.
Answer the question
In order to leave comments, you need to log in
In general, if we talk about the "classic" EF and OData solution, then it will be RESTier from Nuget packages, they promise to release for .NET Core 3 in early 2020.
Do it, what's the difficulty?
https://www.entityframeworktutorial.net/efcore/cre...
https://devblogs.microsoft.com/odata/asp-net-core-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question