I'm new to Entity Framework and adding a 'ADO.NET Entity Data Model' item to my Azure Function for a Database table and only two out of the four files I was expecting were generated automatically. Solution explorer screenshot below of what was created vs expectations. What I am I missing so the Entity Class and Context files will generate automatically?
I have Visual Studio version 16.11.5 installed and I am using Entity Framework version 6.4.4
What was created enter image description here
What I was expecting enter image description here
CodePudding user response:
Figured this out. The problem I had was I was creating the Entity Model within my Azure Function. I created a separate .NET Framework Class Library and all the model files created as expected.