O'Reilly logo

NHibernate 3 Beginner's Guide by Gabriel N. Schenker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – Creating the Categories table

In this second exercise, we want to create the first table in our OrderingSystem database.

  1. Open SSMS and in the Object Browser expand the Databases folder. Locate the OrderingSystem database we created in the previous exercise and expand it.
  2. Right-click on the Tables folder and select New Table…, as shown in the following screenshot:
    Time for action – Creating the Categories table
  3. SSMS will open a new tab where we can now define the details of the new table. The new table editor tab will look similar to the table in the following screenshot. In the Column Name box, enter Id, either type or select int in the Data Type field, and uncheck the Allow

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required