❔ 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
This is unclear. Is this model representing an ef core database entity?
What is prebuilt id?
What is the structure of your model hierarchy
If it's EF, it'd be best to use navigation properties, not just plain FKs
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.