Is there an existing way to generate Entity Framework Entities and domain DTOs like there is for controller generation? #4569
Unanswered
DanMarshall909
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Dan have you looked at OData ? it can take an EF model and make webapi that are based on the ef models. OData also enables a form of queries to be made via the api so that the api server uses LINQ to query the EF model and return objects back that can include related objects. the interop between OData and OpenApi is not great but OData has a huge ability to work with EF and SQL. https://github.com/OData/RESTier OData is used in a lot of places..... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'd like to generate EF entities and domain objects (ideally with extension methods to map them) along side request and response objects.
It seems like a logical extension to what the code generation features do already but I can't find any templates that do this.
If the codegen doesn't exist I'd be eager to do it as a personal project.
Cheers,
Beta Was this translation helpful? Give feedback.
All reactions