https://github.com/dunghenry/.net_core_ef_mssql
https://github.com/dunghenry/.net_core_ef_mssql
dotnet-core entity-framework sql-server
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dunghenry/.net_core_ef_mssql
- Owner: dunghenry
- Created: 2022-11-24T07:29:44.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-24T07:40:43.000Z (over 3 years ago)
- Last Synced: 2025-07-11T15:32:55.629Z (11 months ago)
- Topics: dotnet-core, entity-framework, sql-server
- Language: C#
- Homepage:
- Size: 7.39 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## .Net Core + Entity Framework + SQL Server
### Install package manager console
```js
dotnet tool install --global dotnet-ef
```
### Migrations
```js
dotnet ef migrations add CreateInitial
```
### Create DB and tables
```js
dotnet ef database update
```
### Install package dependencies
```js
Microsoft.EntityFrameworkCore.Tools
Microsoft.EntityFrameworkCore.SqlServer
Microsoft.AspNetCore.Cors
Microsoft.EntityFrameworkCore.Design
```