Linqpad against my EF4 context:
internal IEnumerable<IPlayerFull> SearchForPlayer(string playerNameLike, byte? universeId)
{
var q= from p in q.Players.Where(p => p.UniverseId == universeId).Where("it.Name like @Name", new ObjectParameter[] { new ObjectParameter("Name", playerNameLike) }).Where(p => p.UniverseId == universeId) orderby p.Name select p;return q;
bizarre eh? EF4 note, not related to ESQL: