diff --git a/after-dto.mmd.svg b/after-dto.mmd.svg new file mode 100644 index 0000000..08a3bd1 --- /dev/null +++ b/after-dto.mmd.svg @@ -0,0 +1 @@ +

still used by persistence layer

maps each way

maps each way

maps each way

maps each way

has many (domain relation)

has many (DTO relation)

1
1
*
*

DbContext

+SaveChangesAsync()

DbBase

+Guid id

«Web App»

WebApp

Client

+Guid id

+string name

Order

+Guid id

ClientDto

+Guid id

+string name

OrderDto

+Guid id

+ClientDto client

Mappers

+ClientDto ToClientDto(Client c)

+Client FromClientDto(ClientDto dto)

+OrderDto ToOrderDto(Order o)

+Order FromOrderDto(OrderDto dto)

\ No newline at end of file diff --git a/before-after-dto.mmd.svg b/before-after-dto.mmd.svg new file mode 100644 index 0000000..b3164d6 --- /dev/null +++ b/before-after-dto.mmd.svg @@ -0,0 +1 @@ +

uses (EF)

depends on

inherits

inherits

has many

open / close

1
*
*
1

DbContext

+SaveChangesAsync()

DbBase

+Guid id

«Web App»

WebApp

Client

+Guid id

+string name

Order

+Guid id

\ No newline at end of file