0

How can I execute a SQL function in MVC?

I am trying to link the results of a table returning function to a class I defined. I have set up the connection string and created the database context with public DbSet<Classname> variable{get; set;} how can i link this to the results of a function

1 Answer 1

1

Are you using Entity Framework? Here is an article you can read:

http://rationalgeek.com/blog/function-imports/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.