Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Northwnd db = new Northwnd("");

            // <Snippet2>
            var q =
                from p in db.ProductsCostingMoreThan(80.50m)
                join s in db.Products on p.ProductID equals s.ProductID
                select new { p.ProductID, s.UnitPrice };
            // </Snippet2>
        }