Я получаю сообщение об ошибке с кодом ниже.Там написано Error "Operator '==' cannot be applied to operands of type 'string' and 'int'.
Я смотрел видео, и Джули Лерман делает то же самое.Она не получает ошибку, хотя.Почему?
private static void CustomerQuery()
{
var context = new NorthwindEntities();
var query = from c in context.Customers
where c.CustomerID == 5
select c;
var customers = query.FirstOrDefault();
}