In Depth Entity Framework Migrations with Postgres

  Рет қаралды 11,556

ScriptBytes

ScriptBytes

Күн бұрын

Пікірлер: 37
@umeshdissanayaka2802
@umeshdissanayaka2802 5 күн бұрын
Superb Nice Explanation
@Lazzerman42
@Lazzerman42 Жыл бұрын
Great! Thanks! Just started looking at PostgreSQL as an alternative to SQL Server
@edwinomargarciamendez4291
@edwinomargarciamendez4291 Жыл бұрын
Great Work!, You don't know how much this video tutorial has helped me to understand the Migrations Topic Keep the good work!
@scriptbytes
@scriptbytes Жыл бұрын
I appreciate it! I’m glad the video helped! Thanks for watching.
@s0ft466
@s0ft466 7 ай бұрын
Phenomenally explained! Thank you! Please make more videos, regarding other Postgres features that EF Migrations can handle (can it do triggers and storedprocs?)
@scriptbytes
@scriptbytes 7 ай бұрын
Thank you. I may be doing more in the future, but yes, you can script things like stored procedures. Look into the MigrationBuilder.Sql(...) method. It allows you to run sql, which you can use to run your 'create procedure' scripts.
@dirkpostma77
@dirkpostma77 Жыл бұрын
Great high quality explanation. Thanks!
@scriptbytes
@scriptbytes Жыл бұрын
You’re welcome, thanks for watching!
@JakoBowBeatz
@JakoBowBeatz 7 ай бұрын
Thanks for the Video very good explanation !
@rickmemmer5625
@rickmemmer5625 11 ай бұрын
Exceptional work! Thank you!!
@scriptbytes
@scriptbytes 11 ай бұрын
Glad you enjoyed it!
@vivekmahajan6752
@vivekmahajan6752 6 ай бұрын
Awesome video. Learnt so much :)
@ravanedaa
@ravanedaa 6 ай бұрын
Amazing! Thanks and Congrats...
@wellingtonostemberg7585
@wellingtonostemberg7585 Жыл бұрын
Saved my day!
@scriptbytes
@scriptbytes Жыл бұрын
I’m glad it helped!
@marcturelles7684
@marcturelles7684 9 ай бұрын
Fantastic video
@scriptbytes
@scriptbytes 9 ай бұрын
Thanks!
@firlytaufikurohman6922
@firlytaufikurohman6922 Ай бұрын
hi, i have some issue when i migrated with enum data type, inside my db it should be enum instead of int do you know how to fix that?
@MyPlaylist-xq8en
@MyPlaylist-xq8en 9 ай бұрын
awesome guide!
@scriptbytes
@scriptbytes 9 ай бұрын
Thanks!
@nusratchowdhury50
@nusratchowdhury50 Жыл бұрын
It was an amazing migrations tutorial. Could you please make a tutorial for how to seed in a table? looking forward to seeing it. thanks again
@scriptbytes
@scriptbytes Жыл бұрын
That’s a great idea. I’ll add it to my list. Thanks for watching!
@scriptbytes
@scriptbytes Жыл бұрын
I put out a video today on seeding data. Let me know what you think!
@safyan_yaqoob
@safyan_yaqoob 9 ай бұрын
Thanks for sharing
@scriptbytes
@scriptbytes 9 ай бұрын
Thanks for watching!
@texaslinux
@texaslinux Жыл бұрын
This was incredibly helpful, thank you so much!
@scriptbytes
@scriptbytes Жыл бұрын
You’re welcome!
@saifumar3001
@saifumar3001 4 ай бұрын
Scripts @ 23:32 with -o and idempotent switch
@AliyProgrammer
@AliyProgrammer 6 ай бұрын
hello I faced to this error how to fix dotnet ef migrations add initialMigration Could not execute because the specified command or file was not found. Possible reasons for this include: * You misspelled a built-in dotnet command. * You intended to execute a .NET program, but dotnet-ef does not exist. * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
@adam-xt8te
@adam-xt8te 7 ай бұрын
Do you run postgresql on production server as linux daemon or docker container?
@scriptbytes
@scriptbytes 7 ай бұрын
It all depends on what you're comfortable with. I enjoy docker because it's easy to stand up a database with it. For production, depending on the size and demand, it might be worth looking into a service like Cloud SQL to host the DB as well.
@adam-xt8te
@adam-xt8te 7 ай бұрын
@@scriptbytes Is there a huge difference in performance and resource draining in these two approaches?
@scriptbytes
@scriptbytes 7 ай бұрын
@@adam-xt8te I don't have enough experience with both to know if there's much of a difference. However from what I've seen from benchmark results, there's little to no difference between docker and native run postgres DB's. Not enough to matter for the vast majority of use cases anyways.
@amnashahid9464
@amnashahid9464 4 ай бұрын
how to call sp in PostgreSQL that returns rows ?
@scriptbytes
@scriptbytes 4 ай бұрын
You would probably want to use FromSql: learn.microsoft.com/en-us/ef/core/querying/sql-queries
@amnashahid9464
@amnashahid9464 4 ай бұрын
@@scriptbytes thanks for ur reply. Actually I did use it. But in postgresql, if ur sp returns rows it has to have a refcursor which will contain rows and when u call sp from c# u need to run call ur_sp(params, 'cur'); fetch all in "cur". So this command not working if we use ef
Entity Framework Migrations Explained
36:53
dotnet
Рет қаралды 33 М.
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 149 МЛН
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 3 МЛН
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 17 МЛН
139. What Are Your Thoughts on Entity Framework Core vs. Dapper?
21:49
The Easiest Way To Manage Database Migrations in .NET
11:40
Nick Chapsas
Рет қаралды 40 М.
Production-Grade A.I. Agents MASTERCLASS
1:12:24
COMMAND
Рет қаралды 756
Migrations Done Right in .NET
11:11
Amichai Mantinband
Рет қаралды 10 М.
NVIDIA’s New AI: Stunning Voice Generator!
6:21
Two Minute Papers
Рет қаралды 80 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 97 М.
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 149 МЛН