Edition 0 Updated to asp. Net core 0



Yüklə 11,82 Mb.
Pdf görüntüsü
səhifə178/288
tarix12.07.2023
ölçüsü11,82 Mb.
#136458
1   ...   174   175   176   177   178   179   180   181   ...   288
NET-Microservices-Architecture-for-Containerized-NET-Applications

public
class
Order : Entity, IAggregateRoot 

private
DateTime _orderDate; 
public
Address Address { 
get

private
set
; } 
private
int
? _buyerId; 
// FK pointing to a different aggregate root
public
OrderStatus OrderStatus { 
get

private
set
; } 
private
readonly
List _orderItems; 
public
IReadOnlyCollection OrderItems => _orderItems; 
// ... Additional code



204 
CHAPTER 6 | Tackle Business Complexity in a Microservice with DDD and CQRS Patterns 
Identifying and working with aggregates requires research and experience. For more information, see 
the following Additional resources list. 
Additional resources 

Vaughn Vernon. Effective Aggregate Design - Part I: Modeling a Single Aggregate
(from 
https://dddcommunity.org/

https://dddcommunity.org/wp-content/uploads/files/pdf_articles/Vernon_2011_1.pdf
 

Vaughn Vernon. Effective Aggregate Design - Part II: Making Aggregates Work Together
(from 
https://dddcommunity.org/

https://dddcommunity.org/wp-content/uploads/files/pdf_articles/Vernon_2011_2.pdf
 

Vaughn Vernon. Effective Aggregate Design - Part III: Gaining Insight Through Discovery
(from 
https://dddcommunity.org/

https://dddcommunity.org/wp-content/uploads/files/pdf_articles/Vernon_2011_3.pdf
 

Sergey Grybniak. DDD Tactical Design Patterns
https://www.codeproject.com/Articles/1164363/Domain-Driven-Design-Tactical-Design-
Patterns-Part
 


Yüklə 11,82 Mb.

Dostları ilə paylaş:
1   ...   174   175   176   177   178   179   180   181   ...   288




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin