Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 454 Bytes

EF-Commands.md

File metadata and controls

19 lines (13 loc) · 454 Bytes

cd under ./src/Tugberk.Web:

Add Migration

dotnet ef migrations add {NAME-MIGRATION} --project ../Tugberk.Persistance.SqlServer/Tugberk.Persistance.SqlServer.csproj

Update the Database

dotnet ef database update --project ../Tugberk.Persistance.SqlServer/Tugberk.Persistance.SqlServer.csproj

Drop the Database

dotnet ef database drop --project ../Tugberk.Persistance.SqlServer/Tugberk.Persistance.SqlServer.csproj