The code that converts a startswith predicate to an odata uri generates the following uri
startswith(mobile,'0430404111') eq true
instead of
startswith(mobile,'0430404111')
This causes the sql generated by entity framework to be suboptimal. Why do you tack eq true onto the end of the startswith? The odata standard does not require this. It also makes entity framework generate suboptimal sql:
((CASE WHEN ([Extent1].[Mobile] LIKE @p__linq__0 ESCAPE N''~'') THEN cast(1 as bit) WHEN ( NOT ([Extent1].[Mobile] LIKE @p__linq__0 ESCAPE N''~'')) THEN cast(0 as bit) END) = @p__linq__1)
instead of
[Extent1].[Mobile] LIKE @p__linq__0 ESCAPE N''~''