Dyad
Dyad
CC#
Created by Dyad on 3/27/2024 in #help
Better approach to grouping and ordering items?
Gotcha, thanks! 🙂
22 replies
CC#
Created by Dyad on 3/27/2024 in #help
Better approach to grouping and ordering items?
Would you ever use the second approach in a one to many relationship?
22 replies
CC#
Created by Dyad on 3/27/2024 in #help
Better approach to grouping and ordering items?
If I wanted to move the Last Item to the front, I would have to increment all items order?
22 replies
CC#
Created by Dyad on 3/27/2024 in #help
Better approach to grouping and ordering items?
I see, how about the problem of re-ordering in approach one?
22 replies
CC#
Created by Dyad on 3/27/2024 in #help
Better approach to grouping and ordering items?
which resource should control the order
22 replies
CC#
Created by Dyad on 3/27/2024 in #help
Better approach to grouping and ordering items?
but that still begs the question would the item rows have an order column or would the group table have a column for List of item ids
22 replies
CC#
Created by Dyad on 3/27/2024 in #help
Better approach to grouping and ordering items?
I guess you could define them in a csv file or something
22 replies
CC#
Created by Dyad on 3/27/2024 in #help
Better approach to grouping and ordering items?
The things I'm trying to order are defined in code, and are not user objects / rows
22 replies
CC#
Created by Dyad on 3/27/2024 in #help
Better approach to grouping and ordering items?
What does that mean?
22 replies
CC#
Created by Dyad on 2/20/2024 in #help
OOP and REST/JSON Design
So if you update an item, the response has all resources that were updated as a consequence
25 replies
CC#
Created by Dyad on 2/20/2024 in #help
OOP and REST/JSON Design
or that modification requests such as PUT/POST/PATCH respond with updated dependencies?
25 replies
CC#
Created by Dyad on 2/20/2024 in #help
OOP and REST/JSON Design
which leaves the question, how does the client know when the DTO becomes stale and they need to re-fetch? Is it just good documentation?
25 replies
CC#
Created by Dyad on 2/20/2024 in #help
OOP and REST/JSON Design
but Imagining the TotalCost function could be pretty complex if there is shipping, taxes, etc
25 replies
CC#
Created by Dyad on 2/20/2024 in #help
OOP and REST/JSON Design
it would be a cart screen
25 replies
CC#
Created by Dyad on 2/20/2024 in #help
OOP and REST/JSON Design
Oh, I was imagining the client would need all the items and the total
25 replies
CC#
Created by Dyad on 2/20/2024 in #help
OOP and REST/JSON Design
Ok so you would still pre-compute before sending to the client
25 replies
CC#
Created by Dyad on 2/20/2024 in #help
OOP and REST/JSON Design
Where would that logic be located if not on a class?
25 replies
CC#
Created by Dyad on 2/20/2024 in #help
OOP and REST/JSON Design
and I'm wondering if the function result should be in the DTO that makes its way to the client
25 replies
CC#
Created by Dyad on 2/20/2024 in #help
OOP and REST/JSON Design
FullName would not be in the database, but a function on the business model
25 replies
CC#
Created by Dyad on 1/11/2024 in #help
How to do this with LINQ?
thanks guys 🙂
51 replies