
186Microsoft Visual Studio 2010: A Beginner’s Guide
The CustomerID has a primary key symbol, which is created by
NOTE
When working with LINQ, which we discuss later in this chapter, it is absolutely essential that you give every table a primary key.
In addition to setting the primary key, it’s helpful to make the key number auto- increment so that it will have a unique value for every record you insert. In Figure
When you’re done creating the table, click the Save button on the toolbar and name the table Customer when prompted.
You can add data to the Customer table by opening the database in Server Explorer, navigate to the Tables folder in the MyShop database,