Learning LINQ to SQL (Part 2)
In my last post , I had worked through a few section of the white paper " LINQ to SQL: .NET Language-Integrated Query for Relational Data " and had gotten a working LINQ program going. Everything was going just fine... until now. At the end of the Defining Relationships section, the article leaves me kind'a hanging. It says "there is a tool (described later) that can be used to generate all the necessary definitions..." So, I've got to go back to the TOC to see what this "special tool" is for generating the Entities. I jump to "The Entity Class Generator Tool" section and start reading. My first order of business is to find the program called SqlMetal . I launch a COMMAND window and type "sqlmetal" and receive the expected " 'sqlmetal' is not recognized as an internal or external command. " error. Hey, it was worth a try! So, I next use the old stand-by " cd \ " then " dir /s sqlmetal.* ...