I'm leaving a like under this video not because it's relevant to me, but because the author saved my valuable time with an introduction to the topic of the video. Thank you so much.
Also, if you are working with multiple repository and would want to move the models to specific project then you add -Project "YourProjectName" command as below : Scaffold-DbContext -Connection "ConnectionStrings" -Provider Microsoft.EntityFrameworkCore.SqlServer -Project "YourProjectName" -OutputDir Models -Context ProjectDbContext
Nice video, thanks. A real world project idea using EF with tricks would be nice. I am learning how to use it. DB First... Code First probably I will never use.
Hi Chris Roberts, I upgraded the EF Core version from 6 to 8. In our project, we override the EntityTypeGenerator like: public class CustomEntityTypeGenerator : CSharpEntityTypeGenerator but in EF Core 8 they change the code generation process. In EF Core 6 we override WriteCode method and customize it that we wanted to put in. Can you please guide us?
I am using Docker to have the SQL Server, when I run the command line to generate lps models with scafffold this gives me errors with the user or sometimes with the certificate
real time-saver video
Perfect. This is what I have been looking for. Thank you for saving us !
I'm leaving a like under this video not because it's relevant to me, but because the author saved my valuable time with an introduction to the topic of the video. Thank you so much.
Absolutely precise and very simply explained. Thank you :)
So kind of you 🙏
Complete and right to the point. Works like a charm. thanks.
Glad to hear it helped 😎
Really helpful - thank you!
Thankyou, this is exactly what i am looking for. scaffold... is it is... :)
Works like a charm. thanks!
It works. Just make sure you open the Nuget Package Manager console and not the Developer Powershell which got me into limbo.
Also, if you are working with multiple repository and would want to move the models to specific project then you add -Project "YourProjectName" command as below :
Scaffold-DbContext -Connection "ConnectionStrings" -Provider Microsoft.EntityFrameworkCore.SqlServer -Project "YourProjectName" -OutputDir Models -Context ProjectDbContext
Nice, How to update the model classes if there is any changes in Database column changes
Thank for this video
Most welcome
Thanks very much, that was a great help.
Glad it helped
Très facile
Merci sir
Thanks Roberts
You are very welcone
Helpful for me. Thank you
Absolutely perfect. Exactly what I wanted. Thanks
Glad it helped 🙂
Nice video, thanks. A real world project idea using EF with tricks
would be nice. I am learning how to use it. DB First... Code First probably I will never use.
Glad to see you back!
Thanks Enrique! Hope to get back into it this year… thanks for sticking with us 😎
this is way more effective than using fluent API in my experience, less bugs and better consistency.
Thanks for tutorial. From Latvia
After we got the model we can use it to migrate the tables to another table?
Hi Chris Roberts,
I upgraded the EF Core version from 6 to 8. In our project, we override the EntityTypeGenerator like: public class CustomEntityTypeGenerator : CSharpEntityTypeGenerator
but in EF Core 8 they change the code generation process.
In EF Core 6 we override WriteCode method and customize it that we wanted to put in.
Can you please guide us?
Thank you very much ~~
You're welcome 😊
Thank you so much for this content, very clear and usefull
Glad it was helpful 🙏
What if you only want to build from certain tables and not ALL tables & views?
Thanks a lot
Happy to help
Thanks a lot!
Welcome!
Good, thanks
Thank you too!
Sir, do you have a video on transactions in C#?
After doing scaffolding from the existing database if we make further changes in database objects then how we can update models again?
I have the same question, did you get the answer?
Im guessing we would re-scaffold and the models might be updated
Thank you
I have a question, how can I do to map the stored procedures as the previous version of EF
I am using Docker to have the SQL Server, when I run the command line to generate lps models with scafffold this gives me errors with the user or sometimes with the certificate
Thnks!!👍👍
Thanks
Nice. Did you create the CompanyDbContext before running the command?
No, it is all created by the command. Basically a blank project to start with.
thank you.
Nice !
Thanks!
donde están los scripts para solo copiar y modificar ?
FLACO VOS SOS EL SOL
im getting "Build Failed'
did you solved that issue ? if so please explain am facing the same issue
@@_its_ak_3839 no i didnt and i stoped from there
I'm facing timeout issues
Same here. Did you find a solution for the timeout issues?
hi. How can I use it on Mac?
Très facile
Merci sir
Thx a lot!
Welcome!