Domain Model (C#) - PATTERNS OF ENTERPRISE ARCHITECTURE

  Рет қаралды 5,588

SingletonSean

SingletonSean

Күн бұрын

Пікірлер: 10
@laisgodinho8009
@laisgodinho8009 5 жыл бұрын
Really good class, but you should consider increasing vscode font size, it was really hard for me to read on my phone.
@SingletonSean
@SingletonSean 5 жыл бұрын
Laís Godinho Oh no! I didn't think about that. I will have to fix that on all of my future videos. Thank you for the suggestion Laís. Glad you're enjoying.
@user-ux1mj1uz5b
@user-ux1mj1uz5b 3 жыл бұрын
@@SingletonSean, Hi, Is it okay to have a .Checkout() method in the MedaiBase class? Or is that not advisable, or maybe a bad design? I'm asking that because this code seems to look good to me: if (!media.IsCheckedOut) media.Checkout(); Thanks.
@javiopakan2
@javiopakan2 3 жыл бұрын
Thank you bro...... one question, can you share the repository?
@hakimbencella4242
@hakimbencella4242 Жыл бұрын
Thanks a lot, Is it normal that the gateway depends on the entity ?
@jeppechristensen5707
@jeppechristensen5707 4 жыл бұрын
Thank you!
@SingletonSean
@SingletonSean 4 жыл бұрын
No problem Jeppe!
@user-ux1mj1uz5b
@user-ux1mj1uz5b 3 жыл бұрын
Hi @SingletonSean or anyone reading this. Is it okay to have a .Checkout() method in the MedaiBase class? Or is that not advisable, or maybe a bad design? ... I'm asking that because this code seems to look good to me: if (!media.IsCheckedOut) media.Checkout(); Thanks.
@user-ux1mj1uz5b
@user-ux1mj1uz5b 3 жыл бұрын
I would like to add that I can see a problem with having a .Checkout() method in the domain model class. The problem is that a repository needs to be passed to the domain model, which might not be a good thing to do.
@dimarashevskyi5761
@dimarashevskyi5761 2 жыл бұрын
Model is just a representation of data, repo on the other side is a service to manipulate the data. Wdyt?
Table Module (C#) - PATTERNS OF ENTERPRISE ARCHITECTURE
19:31
SingletonSean
Рет қаралды 2,5 М.
Decorator Pattern - DESIGN PATTERNS (C#/.NET)
14:51
SingletonSean
Рет қаралды 6 М.
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
Почему Катар богатый? #shorts
0:45
Послезавтра
Рет қаралды 2 МЛН
Domain-Driven Design: The Last Explanation You'll Ever Need
21:05
Software Developer Diaries
Рет қаралды 18 М.
Domain-Driven Refactoring - Jimmy Bogard - NDC London 2022
1:00:03
NDC Conferences
Рет қаралды 47 М.
Unit of Work (C#) - PATTERNS OF ENTERPRISE ARCHITECTURE
20:42
SingletonSean
Рет қаралды 10 М.
Kill Anemic Domain Models with Encapsulation: The Hard Part
15:04
Zoran Horvat
Рет қаралды 10 М.
How To Create Smart Enums in C# With Rich Behavior
17:31
Milan Jovanović
Рет қаралды 57 М.
DDD Explained in 9 MINUTES | What is Domain Driven Design?
9:44
Marco Lenzo
Рет қаралды 45 М.
Domain Modeling Made Functional - Scott Wlaschin
51:35
NDC Conferences
Рет қаралды 29 М.
Service Layer (C#) - PATTERNS OF ENTERPRISE ARCHITECTURE
13:49
SingletonSean
Рет қаралды 13 М.
Disposing View Models - FULL STACK WPF (.NET CORE) MVVM #31
18:01
SingletonSean
Рет қаралды 4,4 М.
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54