1

My colleague tells me that ASP.NET MVC with Entity Framework Core does not support calling SQL stored procedures. Is this true? If not, where can I find information on how to do this? Thanks!

2 Answers 2

1

If you take a look at the EF Core / EF 6.x Feature Comparison you will see that EF Core indeed does not support SQL Stored Procedures:

Stored procedure mapping allows EF to use stored procedures to persist changes to the database (FromSql already provides good support for using a stored procedure to query, see Raw SQL Queries for details).

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

Comments

0

Bosed on this roadmap in Entity framework core github page Entity framework core roadmap

For now stored procedure calling, not support in entity framework core.

You can use Dapper library for now, until support this feature in EF Core.

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.