This is the Medical Journals application.
This is a solution that uses
- ASP.NET Core 1.0 and .NET Core class libraries
- Entity Framework 7
- SQL Local DB
This solution uses Entity Framework migrations. To create the database and schema run the migrations. The migrations can be run by:
- Opening a Visual Studio command prompt
- Building the solution
- Navigating to the MedicalJournals.Entities project
- Issuing the command
dotnet ef --startup-project ..\..\MedicalJournals.Web\ migrations list
. This should list the entity framework migrations - Issuing the command
dotnet ef --startup-project ..\..\MedicalJournals.Web\ database update
This will create the database (using LocalDB)
This should build the project and migrate the latest schema to the local db database.
You can view the database by opening SQL Server Management Studio and connecting to: (LocalDb)\MSSQLLocalDB
You should see a database called MedicalJournals-4ae3798b
.