Linq-to-Entities does not seem to recognize IndexOf(String,Int). Int being the starting index. Does anyone know of a workaround that does not require materialization? I would like to keep the iqueryable, without setting tolist or IEnumerable.
Below is the use case.
query = query.Where(Function(TableName) TableName.TableColumn.IndexOf(previousItem) < TableName.TableColumn.IndexOf(item, TableName.TableColumn.IndexOf(previousItem)))
query = IQueryable
This line of code sits right after the Nth (where n>0) keyword. The Starting index is necessary to ensure that in the string "ABC%EFG", "EFG" is after "ABC"