I am new to Linq, though I was thinking of making use of LINQ expressions to query within the collections of my business objects.
We have created a new hierarchical set of models with several properties. Some properties have a List<classx>
. Would I be able to change the type to IQueryable<classx>
? But then how would I add a new instance of classx to it?
Or should I create an IEnumerable<classx>
instead?
Many Thanks for clarification,