How to Add Initial Data using Entity Framework Core: A Guide to Data Seeding

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 8

  • @rrahman-h6n
    @rrahman-h6n 5 месяцев назад

    Thank you for your clear and concise explanation.

  • @pt_trainer9244
    @pt_trainer9244 8 месяцев назад

    Thank you, for the last solution, does it only apply the seed hen the program is run? Not when you do a migration and update the db

  • @UsamaIsmail-r8t
    @UsamaIsmail-r8t 9 месяцев назад

    Which font you use for your solution items?

  • @PeterCargo
    @PeterCargo Год назад

    Thanks for content. I have a little complex question.
    What are your thoughts on using the "Custom Initialization logic" approach for a microservice architecture?
    How to avoid multiple calls to the data seed method?

    • @TechWithPat
      @TechWithPat  Год назад

      I don't have personal experience regarding seeding in a context of Microservices.

  • @thesandboxgamingvideos
    @thesandboxgamingvideos 6 месяцев назад

    does this work everytime during update-database ?

  • @chadjefferson8203
    @chadjefferson8203 Год назад

    Thank Pat,
    Great Video. I have been having trouble seeding relational data and this might be the solution. Any chance the source is available. I cannot see it on you git hub page.

    • @TechWithPat
      @TechWithPat  Год назад

      Sorry Chad, I didn't keep the source code. however, the following codebase uses one of the seeding techniques : github.com/techwithpat/MovieApp