IntelReactJS

Auto React Model Generation

 src\Magic\Properties

launchSettings.json > "applicationUrl": "http://localhost:8081",


src\Magic\magicclient

.env>REACT_APP_MAGIC_API=http://localhost:8081/m5graphql


C:\Intel\FreshCopyFromGit\src\Magic\GraphQL\Queries(/MagicMutations)\MagicQueries.cs

C:\Intel\FreshCopyFromGit\src\Application\Content\Queries\GetContentsQuery.cs

C:\Intel\FreshCopyFromGit\src\Application\Content\Queries\GetContentHandler.cs

C:\Intel\FreshCopyFromGit\src\Infrastructure\Databases\M5\EntityFrameworkMagicRepository.cs


C:\Intel\Magic5_reactJS_Repository17August\src\Magic\magicclient> npm run codegen

Models will be generated in below File

https://www.apollographql.com/docs/react/

https://chillicream.com/docs/hotchocolate/get-started

https://www.howtographql.com/

https://docs.microsoft.com/en-us/shows/on-net/getting-started-with-hotchocolate#time=04m50s

C:\Intel\Magic5_reactJS_Repository17August\src\Magic\magicclient\src\graphql\schema.ts



 "DefaultConnection": "Host=postgres5746-lb-fm-in.dbaas.intel.com:5433;Database=magic5;User ID=magic5_so;Password=n2jDdUzD2WgQ5Tg"

"DefaultConnection": "Host=localhost;Database=magic5;User ID=postgres;Password=sa"

https://chillicream.com/docs/hotchocolate/get-started

https://docs.microsoft.com/en-us/shows/on-net/getting-started-with-hotchocolate#time=04m50s


Entity framework Core Update-database specific migration


162

According to EF Core Docs, correct parameter name is -Target (for EF Core 1.1) or -Migration (for EF Core 2.0)

so in your case:

update-database -target test32

or

update-database -migration test

Comments

Popular posts from this blog

Travel RESUME CV

PTE