Adding ADO.NET or ADO.NET CF Support

PowerDesigner provides an ADO.NET and ADO. Net CF extended model definitions to generate persistent files for these frameworks.

  1. Verify that the current model has the target language C# 2.0 or Visual Basic 2005, and select Model > Extended Model Definitions .
  2. In the List of Extended Model Definitions, click the Import tool.
  3. Click the O/R Mapping sub-tab, select ADO.NET or ADO.NET Compact Framework, and click OK to attach the framework to the model.
  4. Double-click the model name in the browser to open its property sheet, and click the ADO.NET or ADO.NET CF tab:

  5. Define the database connection parameters and other options. For more information, see ADO.NET and ADO.NET CF options.
  6. Click OK to return to the model.

You can also select the ADO.NET or ADO.NET CF 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 ADO.NET or ADO.NET CF checkbox.


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