Adding NHibernate Support

PowerDesigner provides a NHibernate Extended Model Definition to generate NHibernate persistent files.

  1. Verify that the current model has the target language C# 2.0 or Visual Basic 2005
  2. Select Model > Extended Model Definitions .
  3. In the List of Extended Model Definitions, click the Import tool.
  4. Select NHibernate in the O/R Mapping sub-tab and click OK to return to the model.
  5. Double-click the model name in the browser to open its property sheet, and click the NHibernate tab:

  6. Define the database connection parameters and other options. For more information, see NHibernate options.
  7. Click OK to return to the model.

You can also select the NHibernate Extended Model Definition when creating an OOM by clicking the Extended Model Definitions tab in the New dialog, clicking the O/R Mapping sub-tab, and selecting the NHibernate checkbox.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com