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

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

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

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

    Thank you for your clear and concise explanation.

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

    does this work everytime during update-database ?

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

    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 7 месяцев назад

    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.

  • @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