Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Stored Procedure #19

Open
VinayShiva opened this issue May 9, 2019 · 3 comments
Open

Feature: Stored Procedure #19

VinayShiva opened this issue May 9, 2019 · 3 comments

Comments

@VinayShiva
Copy link

This could be an enhancement or a feature,

Scripting from Yml file was awesome. and thank you for giving us a clean way to script back form database. how do we include the stored procedures in the database?

generating code to call the sp's also would be great.

Thank you.
V

@pwelter34
Copy link
Member

I'm not sure if there is a clean way to know which stored procedure goes with which entity? If you have a good design, we could see if it could be done.

@BartBr
Copy link

BartBr commented Dec 3, 2019

Seems like a great idea to me,
Entity Framework 6.3 generates a class for each result of a stored procedure.
result model naming: {StoredProcedure}.Name_Result

Generated code to execute those stored procedures would make it awesome.
with all params as method parameters. (this could also be encapsulated in a request object)

@MichaelDenwood
Copy link

MichaelDenwood commented Jul 5, 2022

This is a great idea, and to be honest I was disappointed it wasn't already here. However the Code Generation from this product is excellent and is why I use it. You can check out https://github.com/ErikEJ/EFCorePowerTools/wiki for possible tips at how to achieve this. I don't know enough about either product to know if it will be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants