Click here to Skip to main content
15,942,804 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In C#/VB.NET it's possible to use stored procedures in table adapters to fill/update/delete. You can also use "select * from table" and also use a SP in the table adapter. In ASP.NET using model/controller I cannot for the life of me figure out how to use a SP to fill the models. Does anyone have a code snippet they could share? Thank you.

What I have tried:

MS references using SPs but only for delete/update operations. No fill operations.

Tutorial: Use async and stored procedures with EF in an ASP.NET MVC App | Microsoft Learn[^]
[no name] 17-Apr-23 13:18pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900