Entity framework core migrations to create database using Code First approach in .net core

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 42

  • @cristiandecordoba
    @cristiandecordoba 4 роки тому +3

    Great video, thanks for show every step and every library to install !!!!

  • @saumen5982
    @saumen5982 3 роки тому

    Thanks a lot for the session

  • @vrdevendra
    @vrdevendra 3 роки тому

    Really very useful video. Thanks man

  • @venup6390
    @venup6390 Рік тому

    Awesome Video! Thanks a lot!

  • @amadorjr.escanilla1789
    @amadorjr.escanilla1789 4 роки тому

    Very Helpfull tutorial keep up the good work

  • @auchucknorris
    @auchucknorris 3 роки тому

    extremely comprehensive, covering all aspects of possible migration, thanks a lot.

  • @marc-andreviau8050
    @marc-andreviau8050 4 роки тому +3

    The video was great at showing all the different steps! I would simply add that you should give reduce your camera size or even remove it completely as it hides the content of your video

  • @kamalpradhan7734
    @kamalpradhan7734 4 роки тому

    Really Its a nice video and also very helpful for me . If you Come up with some LINQ operation in future then it will helpful. And Best thing in your video that many approaches you showed to all

  • @salmaanabdalla9611
    @salmaanabdalla9611 4 роки тому +1

    My god,,,,,,,Exactlyyyyy what i needed , thenks Mate

  • @AhmedAmine..
    @AhmedAmine.. 3 роки тому

    Thanks! Great demo

  • @vivekmishra4096
    @vivekmishra4096 4 роки тому

    Great video, all three approaches worked.

  • @danyelaristizabal
    @danyelaristizabal 4 роки тому

    Great video ! Everything worked fast and nicely

  • @khaskhoussywissem7328
    @khaskhoussywissem7328 3 роки тому

    You are a life savior man thanks

  • @WESLAOyt
    @WESLAOyt 4 роки тому

    Great Video, Thanks so much!

  • @thecyberyak
    @thecyberyak 3 роки тому

    Loved the video, is there anyway to auto populate the databases when migrating. Say you're adding new tables.

  • @venkateshuttur4136
    @venkateshuttur4136 3 роки тому

    very good one, next time say also explain why we need to follow these pattern/practices and provide documentation links, so other have detailed explaination.Thank you:)

  • @harshitsarani857
    @harshitsarani857 4 роки тому +1

    All 3 approaches worked.

  • @saumen5982
    @saumen5982 3 роки тому

    How to check if dbcontext have and re run migration in 1st option.

  • @sandhyaarakshit
    @sandhyaarakshit 2 роки тому

    Can we add data in foreign key or it should be null?

  • @AhteshamKamali
    @AhteshamKamali 3 роки тому

    Thanks

  • @capncrunch9053
    @capncrunch9053 4 роки тому

    I get why you were talking fast, you saw it in your head, and rattled it off. I do the same thing. But we don't always hear as fast as one can think... lol. But yeah, GREAT video. I like that you touched on all three approaches. Do you have a Database First video as well?

  • @jibrankhan6265
    @jibrankhan6265 4 роки тому

    Nice job.. please type the code this will more helpful and understanding...

  • @lennonfernandes1696
    @lennonfernandes1696 2 роки тому

    Suppose instead of typing "add-migration developerdbMigration" we accidentally type "update-database developerdbMigration" and press the "Enter".... what will happen then?

  • @Spirittism
    @Spirittism 2 роки тому

    in blazor i will get a null reference exception if i try to save something in the child class via the parent class example
    Mother.child.Name="Hasad";

  • @elangovanr3581
    @elangovanr3581 Рік тому

    Bro how to implement soft delete in ef core code first approach

  • @muraliramu3693
    @muraliramu3693 3 роки тому

    Bro, can you tell me how to add one more model for the existing DB?

  • @lin4469
    @lin4469 3 роки тому +1

    I have an error when run Add-Migration
    Error message is "The specified deps.json [D:\%^&*%^&*%&*\deps.json] does not exist"
    I google that qusetion and didnt find solution..

  • @pradeep976
    @pradeep976 4 роки тому

    great video

  • @sukdipkar8876
    @sukdipkar8876 3 роки тому

    can u teach us how to perform CRUD operation when there is a foreign key?

  • @bunnyworld5399
    @bunnyworld5399 3 роки тому

    it would have great if u explain the difference between the 2 nd and 3 rd approach . but still great class

  • @bhavikvaishnani
    @bhavikvaishnani 3 роки тому

    Thanks for a great one as all the comments say. :)
    But I have one query if you can help me.
    let say I am following approach 2.
    and created the application , a web api (web service )
    and after deploying it to web server How can I run - update-databasecommand ?
    Thanks.

  • @odey.abdalrahman
    @odey.abdalrahman 4 роки тому

    you are the best

  • @PongPongKiddo
    @PongPongKiddo 3 роки тому

    Nice video bro!

  • @rajeevtrivedi5095
    @rajeevtrivedi5095 4 роки тому

    Do you have tutorial for Database first approach ?

  • @basiljacob4689
    @basiljacob4689 3 роки тому

    Nice video !! Is there a way to generate the migration script as an SQL file and execute it manually instead of directly applying the migrations to an existing Database ? Have earlier used the command 'update-database -script' in .NET framework for this purpose, but it seems to be not supported by .NET core. Any idea ? Thanks in advance.

  • @poonambhosale8092
    @poonambhosale8092 3 роки тому

    Very Nice Video :)

  • @SPRajOfficial
    @SPRajOfficial 4 роки тому

    How to generate migrations for my sql database?

  • @amangupta-zg2yr
    @amangupta-zg2yr 3 роки тому

    where he define DB name??

  • @vishaljaiswar1880
    @vishaljaiswar1880 4 роки тому

    Time Elapsed: 00:00:02.6608651 getting this error.

    • @codingfriday6537
      @codingfriday6537  4 роки тому

      strange error..it should work if you follow the same commands