I have a procedure in SQL that I am trying to turn into Linq:
SELECT O.Id, O.Name as Organization FROM Organizations O JOIN OrganizationsHierarchy OH ON O.Id
Well indexOf works for me too
var result = from c in SampleList where c.LongName.IndexOf(SearchQuery) >= 0 select c;