Project shows returning complex result type from Stored Procedure from database with EntityFramework Core.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Console Application (.Net 5)
- Microsoft SQL Server Express (Data Store)
- Entity Framework Core (ORM)
- Pankaj Kansodariya - EFCoreSP
- Please make necessary changes as per your requirements.
- Create new Database on SQL Server.
- You can also use SQL Server local db "(localdb)\mssqllocaldb".
- Execute "Database.sql" file available in "Solution Items" folder on that database.
- Put connection string into appsettings.json (Section = "ConnectionStrings:EFCoreSPContext")
- Build / Run the project.