productQuery1.SelectValue
("it.ProductID"); Откуда мне знать, что здесь означает "it"?
Целый пример из MSDN docs
using (AdventureWorksEntities context = new AdventureWorksEntities()) { string queryString = @"SELECT VALUE product FROM AdventureWorksEntities.Products AS product"; ObjectQuery
productQuery1 = new ObjectQuery (queryString, context, MergeOption.NoTracking); ObjectQuery productQuery2 = productQuery1.SelectValue ("it.ProductID"); foreach (Int32 result in productQuery2) { Console.WriteLine("{0}", result); } }