C# Daily Activites
Entity Framework Commands
Below are the entity framework command to use in DB first Approach
Scaffold-DbContext "ConnectionString" Microsoft.EntityFrameworkCore.SqlServer -o Models -Force -context ContextName -contextdir
https://docs.microsoft.com/en-us/ef/core/managing-schemas/migrations/?tabs=dotnet-core-cli
Comments
Post a Comment