int[] ids = [1, 2, 3]; List<Post> posts = context.Set<Post>().Where(e => ids.Contains(e.Id)).ToList(); throws `System.InvalidOperationException: 'Expression '@__ids_0' in the SQL tree does not have a type mapping assigned.'`