We will create a repository:
- First, we have to be sure that we have imported the following dependencies in project.json:
- Let's open a Developer Command Prompt for Visual Studio 2015. We will type the following command after it has been placed in the project folder:
dnx ef
The output of the preceding command is as follows:
- After that, we type the following command:
dnx ef scaffold "DatabaseConnectionString" EntityFramework.MicrosoftSqlServer --outputDir Models
The output of the preceding command is as follows:
We can see ...