Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
why it is getting public virtual int function() in mvc
athira k
Jul 27 2017 6:23 AM
192
Reply
I am doing a project in mvc, and for that I have created a stored procedure. It works fine and then I included this sp to edmx and shows sussceful. But when I opened Entities.Context.cs, instead of getting
public virtual ObjectResult<Sp_Result> sp(),I am getting
public virtual int Sp()
and in the EntitiesModel.cs , I need to get function declaration as objectResult<Sp_Result>Sp(); but it is not getting a declaration as this or as int ??
why is this happening ?? Actually I need to get as public virtual ObjectResult<Sp_Result> sp() this is not getting.
What will be the reason behind this and is there a way to delete the stored procedure from edmx and to add later
can anyone please help me to find the solution for this ??
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Is there any open source Ticket Management System in ASP.NET
Json Result with Date Parameters