#16 Net CoreApi Scoffold DbContext

Опубликовано: 19 Август 2024
на канале: Srinivas Mateti
34
3

This is 16th Video in the series
1) In this video trying to fix the issue we faced in previous video
2) Finding a better way to include EF in this video
3) Explained Scoffolding command to create db context and models from SQL server
4) Scaffold-Dbcontext "Data Source=SERVERNAME;Initial Catalog=DBNAME;Integrated Security=true;TrustServerCertificate=True" Microsft.EntityFrameworkCore.SqlServer -OutputDir Models
5) Install below packages
dotnet add package Microsft.EntityFrameworkCore.SqlServer --version 9.0.0-preview.7.24405.3
NuGet\Install-Package Microsoft.EntityFrameworkCore.Design -Version 9.0.0-preview.7.24405.3
NuGet\Install-Package Microsoft.EntityFrameworkCore.Tools -Version 9.0.0-preview.7.24405.3
6) Finally end up with Microsft.EntityFrameworkCore.SqlServer , will resolve this issue in next video


Смотрите видео #16 Net CoreApi Scoffold DbContext онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Srinivas Mateti 19 Август 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 34 раз и оно понравилось 3 людям.