The CA Gen code generators have been enhanced to generate C# code. CA Gen can generate a complete CLS compliant .NET application from a CA Gen Client/Server model. Note that prior to generation, you should add .NET-specific information to your models such as the namespace names and, when generating servers, the attributes of strongly named assemblies including the assembly key pair. This guide describes these tasks.
An action diagram is generated as a class whose name is the CA Gen member name. Further, all import, export and local views are generated as separate classes. For example, the action block DEMO_AB will be generated as the class DEMOAB. Its import, export and local views are generated as the classes DEMOAB_IA, DEMOAB_OA and DEMOAB_LA, respectively. An additional set of C# files are generated by the Window Manager and Server Manager. These classes present the import and export views in a more object-oriented manner. Additionally, wrapper classes are created to move the data into and out of the _IA and _OA classes.
The generated C# code uses ADO.NET to access the application database. ADO.NET provides a consistent API to data providers which are DBMS-specific. CA Gen supports selected data providers for popular DBMSs such as IBM DB2, Microsoft SQL Server and Oracle. Additionally, the ODBC data provider is supported to gain access to additional DBMSs.
|
Copyright © 2014 CA.
All rights reserved.
|
|