Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

stored procedure of insert statement is not displaying

$
0
0

hi all,

i have a web api 2 project, there im using ado.net entity framework. while creating EF i have included all my USP(stored procedures) too, among them 3 USP are only with select statements, 1 usp(namely usp_AddEmployee) is only with Insert statment. now the problem is select statement USP are displaying as Model class so, i could create controller but, when i try to create controller for usp_AddEmployee its, not showing model.

so, i check in solution explorer there also no model file for usp_AddEmployee, i could understand the reason because, of insert statement only its not showing model.

now, my question is how do i use this usp_AddEmployee in entity framework?

experts please advise.


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>