❔ How do I access Category Name ?

I have a model with id , category name , parent id . Parent id is equal to prebuilt id. How can I access category name from parent id? C# linq
3 Replies
Denis
Denis2y ago
This is unclear. Is this model representing an ef core database entity? What is prebuilt id? What is the structure of your model hierarchy
Angius
Angius2y ago
If it's EF, it'd be best to use navigation properties, not just plain FKs
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server