1. 查询所有字段 using (NorthwindEntities context = new NorthwindEntities()) { var order = from n in context.Orders select n; foreach (var i in order.ToList()) { Console.Write(i.Customers); Console.WriteLine(); } } 生成SQL语句为: SELECT [Extent1].[OrderID] AS [O