ASP.NET Core Web API + Entity Framework Core : Database First - EP01

Published: 20 November 2019
on channel: CuriousDrive: Solve Coding Problems & Win Prizes!
259,821
2.3k

Hey Coders,

Subscribe here -    / @curiousdrive  
Talk to us on -   / curiousdrive  

Like our page -   / curiousdrive  
Follow us on -   / curious_drive  
Follow us on -   / curiousdrive  

Make a donation - https://www.paypal.me/curiousdrive
Be a member -   / curiousdrive  

Find Code here - https://github.com/CuriousDrive/BookS...

You can download SQL express from. Please find the link below.
https://go.microsoft.com/fwlink/?link...
And you can follow these steps if you are using Ubuntu -
https://docs.microsoft.com/en-us/sql/...

In this #EntityFramework tutorial, I am explaining how you can connect to your SQL express database and how you can run Entity Framework Core tool to scaffold the database. It's also known as #DatabaseFirst approach.

Content -
1. What's Database First?
2. Creating ASP.NETCore #WebAPI
3. Running command Scaffold-DbContext
4. Generating DBContext and Models
5. Performing CRUD Operations

Scaffolding Command -
Scaffold-DbContext "Server=.\SQLExpress;Database=BookStoresDB;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models

#CuriousDrive #WeLoveCoding


On this page of the site you can watch the video online ASP.NET Core Web API + Entity Framework Core : Database First - EP01 with a duration of hours minute second in good quality, which was uploaded by the user CuriousDrive: Solve Coding Problems & Win Prizes! 20 November 2019, share the link with friends and acquaintances, this video has already been watched 259,821 times on youtube and it was liked by 2.3 thousand viewers. Enjoy your viewing!