0
twopenguinsstudios created
What is the best practice for the case when we want to make a direct database call, like a stored procedure. Typically with Entity you can get at this from the db context but the db context is extracted a bit away from us with AspNetZero. We would want to utilize the frameworks connection management and transaction management if possible rather than just instantiating a sql connection outside the framework.
Any suggestions?
Thanks
2 Answer(s)
-
1
Have you see this article? https://aspnetboilerplate.com/Pages/Documents/Articles/Using-Stored-Procedures,-User-Defined-Functions-and-Views/index.html
-
0
Thanks! that was exactly what I was looking for.