MyBase Get(IEnumerable list) where T : MyBase { MyBase testItem = from x in list from y in x. SolidItems where y. Classified == otherObject.
Classified select x; return testItem; } You could call it like this: var result1 = Get(AbcTransport); var result2 = Get(DefTransport).
I have a good LINQ query that is working well, it returns a result set, each result set inherits from MyBase. I need to substitute AbcTransport by doing a kind of loop through of collection of strings I have. This will cut down on the amount of code I need to write.
I think this is possible with Dynamic Linq, but I am unsure where to start. Imagine I have currently about 26 objects like AbcTransport that are all named different but all inherit from MyBase.. The property I am interested in is actually on MyBase. Thanks in advance.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.