Adding NHibernate Support

PowerDesigner provides support for generating for NHibernate through an extended model definition.

  1. Verify that the current model has the target language C# 2.0 or Visual Basic 2005
  2. Select Model > Extended Model Definitions, and click the Import tool.
  3. Click the O/R Mapping sub-tab, select the NHibernate xem, and click OK to attach it to your model.
  4. Click OK to close the List of Extended Model Definitions and return to your model.
Note:

You can also attach an XEM at model creation time by clicking the Select Extensions button on the New Model dialog.