Chapter 11 Generating .NET 2.0 Persistent Objects and Windows Applications


Adding Windows or Smart Device Application Support

PowerDesigner provides both Windows Application and Smart Device Application Extended Model Definitions, which allow you to generate UI files.

Steps To add Windows Application support:

  1. Verify that the current model has the target language C# 2.0 or Visual Basic 2005, and includes an extended model definition for either ADO.NET or Nhibernate.
  2. Select Model→Extended Model Definitions.
  3. In the List of Extended Model Definitions, click the Import tool.
  4. Select Windows Application in the User Interface sub-tab and click OK to return to the model.

You can also select the Windows Application Extended Model Definition when creating an OOM by clicking the Extended Model Definitions tab in the New dialog, clicking the User Interface sub-tab, and selecting the Windows Application checkbox.

Steps To add Smart Device Application support:

  1. Verify that the current model has the target language C# 2.0 or Visual Basic 2005, and includes an extended model definition for ADO.NET CF.
  2. Select Model→Extended Model Definitions.
  3. In the List of Extended Model Definitions, click the Import tool.
  4. Select Smart Device Application in the User Interface sub-tab and click OK to return to the model.

You can also select the Smart Device Application Extended Model Definition when creating an OOM by clicking the Extended Model Definitions tab in the New dialog, clicking the User Interface sub-tab, and selecting the Windows Application checkbox.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.