/JavaToNetCore

A simple API project to learn the core concepts of the NetCore 3.0 and Entity Framework.

Primary LanguageC#

Comando para gerar CRUDs, Controllers e Rotas

dotnet aspnet-codegenerator controller -name CONTROLLER-NAME -async -api -m MODEL-NAME -dc CONTEXT-NAME -outDir DIRETĂ“RIO-CONTROLLERS

Comando para gerar e atualizar Migrations

dotnet ef migrations add initical --context CONTEXT-NAME dotnet ef database update