Join Richard Goforth for an in-depth discussion in this video Setting up your project, part of Accessing Existing Databases with Entity Framework Core.
- [Instructor] All right we're finally ready to get…our new application up and running…against the database.…We're going to use a .NET Core console project…and add the Entity Framework Core libraries to it.…First, we need to install .NET Core.…We'll navigate to the Microsoft website for .NET Core…and download the project that we need.…We need the Visual Studio 2015 update three,…already installed, and then we'll install…the Tooling package.…After downloading the Tooling package,…we'll run the installation.…Now that the Tooling package is installed,…let's go ahead and open up a command window…or terminal window.…
I'll use Windows key + R and cmd…to open up the command window.…Next, navigate to the directory…that you'd like to put your project in.…Now that we're in the directory,…we can use the .NET command line tools…to create the project.…First, with dotnet new.…This creates a simple project in the folder.…Then, we need to restore the .NET packages to this folder,…so we use dotnet restore.…Now that the packages are in place in that folder,…
- Setting up your project
- Connecting to a legacy database
- Scaffolding an initial model and context
- Improving the model
- Updating properties and indexes
- Adding concurrency tokens and timestamps
- Creating complex relationships
- Working with non-Microsoft databases such as SQLite and PostgreSQL
Skill Level Intermediate
SQL Server 2014 Essential Trainingwith Martin Guidry3h 51m Intermediate
Microsoft SQL Server 2014: Backup and Recoverywith Martin Guidry1h 22m Intermediate
1. Get Started with EF Core: On Your Legacy Database
2. Improve the Model
3. Model Complex Relationships
4. Work with Non-Microsoft Databases
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.