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
Use this:
from c in dc.Organization where SqlMethods.Like(c.Hierarchy, "%/12/%") select *;