Creating an EF query (using the Query syntax) to display the customers who have a recent order and an EF query for customers with orders (without using navigation properties).
- Download and install the .NET Core SDK
- If you don't have
localdbavailable on your system, Download and install SQL Server Express
- If you don't have
- Open a terminal such as PowerShell, Command Prompt, or bash and navigate to the
src/EFQuery.Apifolder - Run the following
dotnetcommands:
dotnet build
dotnet run- Open your browser to:
https://localhost:5001.
- Download and install the .NET Core SDK
- If you don't have
localdbavailable on your system, Download and install SQL Server Express
- If you don't have
- Open a terminal such as PowerShell, Command Prompt, or bash and run the following command:
dotnet test