How to do SQL Like % in Linq? September 20, 2022 by Tarik .Where(oh => oh.Hierarchy.Contains("/12/")) You can also use .StartsWith() or .EndsWith().