|
10 | 10 |
|
11 | 11 | - Migration Commands (in Nuget console)
|
12 | 12 | - `add migration <name>`
|
13 | | - - `updatedatabase` |
14 | | -- Use postman and use the APIs to add some dummy data to table |
| 13 | + - `update-database` |
| 14 | +- Use inbuilt Swagger or else postman and use the APIs to add some dummy data to table |
15 | 15 | - Run the WebAPI first(recommeneded to run from visual studio)
|
16 | 16 | - Then run the angular app
|
17 | 17 |
|
|
24 | 24 | ### Known Errors
|
25 | 25 |
|
26 | 26 | - If any error pops up regarding namespaces, add the reference to the DataAccess project or dll from the webapi project
|
| 27 | +- If angular app is giving any compilation error, run npm i again |
27 | 28 |
|
28 | 29 | #### Extras
|
29 | 30 |
|
30 | | -- If you are planning on a db first approach |
| 31 | +- If you are planning on a db first approach to modify the project |
31 | 32 | - Command for creating models from db
|
32 | 33 | - `scaffold-dbcontext "Data Source=.;Initial Catalog=CompanyDB; Integrated Security=true" Microsoft.EntityFrameworkCore.SqlServer -outputdir Models`
|
| 34 | + |
| 35 | +# Creator |
| 36 | +* [Rakesh Kumar T](https://github.com/rakesh-kumar-t) |
0 commit comments