var otherTypes = Model.AncestorOrSelf<InspireTypes>().Children.Where(x => x.IsVisible());
I have a variable catName that contains the current category. I want to modify the query above to search InspireCategory.CategoryName for the catName. I want to only return the records that match the catName.
I have been at this awhile with many different ways of trying to get this data without any luck. Any help would be appreciated. Thanks so much in advance.
Query Help
So far I have the following:
I have a variable catName that contains the current category. I want to modify the query above to search InspireCategory.CategoryName for the catName. I want to only return the records that match the catName.
I have been at this awhile with many different ways of trying to get this data without any luck. Any help would be appreciated. Thanks so much in advance.
If I got it right..
I had to modify slightly, thank you for getting me on track
is working on a reply...