Modifying Database and Project Properties

To change the database and project level properties, select the root node in the project tree and use the UI controls on the right panel to set new values. 


Common group


Base Output Directory
Specifies the output directory path. To browse for the directory, click the button. If the directory does not exist, RapTier will create it.

Template Group
Specifies the template group that will be used to generate the output code.

Target IDE
Specifies the target IDE (VS.NET 2002, VS.NET 2003, Borland C# Builder).

Generate _old/new Directories
If the option is not selected, RapTier regenerates the rewritable files and leaves the non-rewritable files unchanged.

Otherwise, if the option is selected, it performs two additional actions: it saves the old versions of the rewritable files to the "<BaseOutputDirectory>/_old" directory and generates the new versions of the non-rewritable files to the "<BaseOutputDirectory>/_new" directory.



Note: New templates are constantly being added. Please check http://www.SharpPower.com/Default.aspx?path=products/templates for the most recent updates.

DB Project group

DB Code Name
Specifies the database code name that must meet the following requirements:

Namespace
Specifies the base namespace for all generated classes.

Database Engine
Allows you to select a database engine. In most cases RapTier automatically selects the correct item for you. If it fails to determine the right database engine, do it manually by choosing one of the following items: Generic, MS SQL Server or MSDE, MS Access, MySQL, Sybase ASE, Sybase SQL Anywhere, FoxPro, or Oracle.

RapTier uses this value to generate code optimized for your database engine. Choose Generic if you can't find your database engine name in the list. In this case, RapTier generates generic code that should work with any relation database that provides OLE DB or ODBC interface.

Users with different database engines will be presented with slightly different options. For example, MS SQL Server and MSDE users will have two additional options Generate Stored Procedures and Generate MS SQL @@IDENTITY as shown in the figure above.

Generate Stored Procedures
If this option is selected RapTier generates stored procedures for all database operations; otherwise the generated code uses dynamic SQL code.

Generate @@IDENTITY
Specifies whether the generated code requests the @@IDENTITY value after inserting data into a table with an auto-increment column.


WinForm UI Project group

Generate WinForm UI Project
Select this option to generate a WinForm user interface project for your database.

Namespace
Specifies the base namespace for the WinForm UI classes.


WebForm UI Project group


Generate WebForm UI Project
Select this option to generate an ASP.NET user interface project for your database.

Namespace
Specifies the base namespace for the WebForm UI classes.

Copyright
Specifies the copyright text that will be used in the generated code.