Share via

Import stored proc and functions into entity model disabled?

Mr Edge 221 Reputation points
Feb 19, 2022, 12:21 PM

I created a test database and added a Function. In Visual Studio 2019 i added a new ADO .Net entity model (EF 6), selected the database along with Code First from Database but the option to select the checkbox import selected stored procedure and functions into the entity model is greyed out?

Is there something additional i need to do? If i continue with the process all the tables are converted into Code First C# code?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,359 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.