One-to-Many and Many-to-Many Relationships in Clean Architecture

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

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

  • @tusharkandalkar2879
    @tusharkandalkar2879 2 года назад +2

    Thanks a lot...really learning a lot from your videos..Waiting for next video in series.

  • @jimenezmaury
    @jimenezmaury Год назад +1

    gracias!!!!

  • @zehreiverjmorales5454
    @zehreiverjmorales5454 2 года назад +1

    Thank you sir!

  • @torrvic1156
    @torrvic1156 Год назад +1

    Thank you sir for your explanations! I never saw how actually work with EF (not counting Identity stuff here).

  • @Oblivianos
    @Oblivianos Год назад +2

    nice video but i got confused. if you got an instance of member and an instance of rental. do both keep a copy of each other in their respective attribute? how does that work if you need to instantiate them if you need both for the instantiation? (circular)

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

      You would only interact with them using the EF. If you need them in the business logic, then you'll have another DTO data model

  • @jorgeluisricraalcantara809
    @jorgeluisricraalcantara809 Год назад +1

    Thanks sir

  • @lewispil3529
    @lewispil3529 2 года назад +2

    you explain very well sir, thanks for the video +1 subscriber, hope for next videos!

  • @Elias79150
    @Elias79150 Год назад +1

    I think that you have to fix the relation between Member and Rental in code...

  • @peternguyen9382
    @peternguyen9382 Год назад +2

    The mapping is wrong. one member has many rentals but one rental only belong to one member. seem like you do the opposite side in you c# classes.

  • @devmahmod8121
    @devmahmod8121 10 месяцев назад

    Thank you sir for your explanations I want to ask one question please, why you put ICollection of Member in Rental class that mean every time the rental data will repeated and the only change will be MemberId ?

  • @pravinmisra
    @pravinmisra 2 года назад +1

    Thank you for your videos. They helped me to understand much easier.
    Please suggest where should the Mapping between Domain Objects and View Objects should be done?
    Should it be done in Application Layer?

    • @CodeUnparalleled
      @CodeUnparalleled  2 года назад

      Am planning on making a video on that.
      So be on the look out

  • @robertrobert2954
    @robertrobert2954 2 года назад +1

    Where to add ASP.NET Core Identity in terms of this Clean solution?

    • @CodeUnparalleled
      @CodeUnparalleled  2 года назад

      Thanks alot for the feedback. I was planing on adding that later once the movie rental business use case was added in the next video.
      I wanted to add that with Auditable Entry so that in the future when data is changed we must know by who and also when we introduce user management capability.
      But should there be an urgent need I can bring it in sooner

  • @hiteshkidecha9527
    @hiteshkidecha9527 2 года назад

    please create repository/service layer with using these models.

    • @CodeUnparalleled
      @CodeUnparalleled  2 года назад

      Kindly elaborate

    • @hiteshkidecha9527
      @hiteshkidecha9527 2 года назад +1

      @@CodeUnparalleled I mean to say in video( ruclips.net/video/HCuoBwXS95o/видео.html), create repositories and services for models used from this video(ruclips.net/video/KeTi_x8_4ao/видео.html).

    • @CodeUnparalleled
      @CodeUnparalleled  2 года назад

      You mean a GitHun Repository?

    • @CodeUnparalleled
      @CodeUnparalleled  2 года назад +3

      The video ended on a note that In the Application Layer in the next video We will apply the business logic . That will be covered

    • @hiteshkidecha9527
      @hiteshkidecha9527 2 года назад +2

      @@CodeUnparalleled Ok thanks. Waiting for the next video..