Step 2: Modifying Project Properties

After you select OK on the Data Link Properties window, RapTier loads the database schema. It sets the default values for the project properties that specify how and where the output code will be generated. 

RapTier - Template-driven C#, VB.NET and SQL Code Generator

Figure 2.1

In this tutorial we will change the default settings to generate code that better fits our needs. Select the root node in the project tree and make the following changes:

Common Group

Figure 2.2


Figure 2.3

Users with different database engines will be presented with slightly different options. For example, MS SQL Server users will have an additional option Generate Stored Procedures. More on this you can find in the User Guide section of the documentation.



Figure 2.4

We need to do this manually because the MS Access OLE DB provider does not recognize auto increment columns. Note: If you use MS SQL Server, MSDE, FoxPro, MySQL databases you don't need to set the read-only flag for identity columns manually, RapTier will do it for you.

By clicking on the table/view and column nodes on the project tree view you can also edit the corresponding Code and Display names. A text box will be displayed on the right-hand panel that will allow you to edit the items.

Next: Generating Code