TrackableEntities / EntityFrameworkCore.Scaffolding.Handlebars

Scaffold EF Core models using Handlebars templates.
MIT License
208 stars 53 forks source link

Handlebar Support for Stored Procedure Generation #206

Closed bmainsteleo closed 2 years ago

bmainsteleo commented 2 years ago

It doesn't appear that there is support for Stored Procedures with the Handlebar generation process? It would be great if that could be included, both as the methods within the Context, and for the entities that represent the SP results.

ErikEJ commented 2 years ago

Handlebars uses what EF Core generates and there is no support for this in EF Core.

EF Core Power Tools reverse engineers both stored procedures and functions.

bmainsteleo commented 2 years ago

OK thanks for the update. As an enhancement request: could EF Core Power Tools add handlebar support to do this?

tonysneed commented 2 years ago

I haven’t planned to add this feature to Handlebars, as it only uses EF Core scaffolding, which does not reverse engineer entities from sprocs.

ErikEJ commented 2 years ago

You mean not?

tonysneed commented 2 years ago

Thanks — corrected.

ErikEJ commented 2 years ago

@bmainsteleo please create a feature request in the EF Core Power Tools repo