Posts by Guilherme Ribeiro • 11 points
2 posts
-
0
votes2
answers65
viewsA: When placing a class in Dbset using Migrations
Dbset represents the "Repository" of your entity is it that has the methods Create, Find, Remove etc. So, if you don’t Map the entity in dbset, you won’t be able to Crud it. If you want, you can…
-
1
votes2
answers129
viewsA: Register an "admin" user when running the c# mvc application
Good afternoon Paulo. Take a look at the Entity Framework Seed https://www.c-sharpcorner.com/UploadFile/5d065a/seed-database-in-entityframework/…