Код: Выделить всё
var values = Enumerable.Range(1,2);
return message => message.Properties.Any(
p => p.Key == name
&& int.Parse(p.Value) >= values[0]
&& int.Parse(p.Value) = и
Подробнее здесь: [url]https://stackoverflow.com/questions/16694716/entity-framework-linq-expression-converting-from-string-to-int[/url]
Мобильная версия