#relationship

1 messages · Page 1 of 1 (latest)

lime crater
#

i am struggling with relatioships, I know how its like in the model and in the migration but i dont know how they are presented inside the DTO and I dont know how it looks like on the service and controller, please be precise in each step
how I define the telationships inside model,
migrations,
DTOs,
Service ,
controllers ,
how does relationships look like inside of each file PLEASE

storm pelican
#

Service and controllers don't matter or care. You normally use the helpers from Fluent

#

Fatoş - it depends on how you want them to look, so it's up to you

#

Models and migrations - as per the docs