The import and export views are placed into separate class files. For example, the action block DEMO_EAB will be generated as the class DEMOEAB. Its import and export views are generated as the classes DEMOEAB_IA and DEMOEAB_OA, respectively.
Within each class, the individual class members hold the view data. Views, entities, and attribute names are concatenated together and generated as a single flattened variable, without underscores for spacing. The single variable may contain non-ASCII characters since C# allows them in variable names. The variable follows the uppercase and lowercase rules typically used in C# programming. Specifically, the first letter of each word is in uppercase and all remaining characters are in lowercase.
For example:
Entity View: IMPORT_CUSTOMER
Entity: ADDRESS
Attribute: POSTAL_CODE
becomes
ImportCustomerAddressPostalCode
Each member of the class may be defined as one of the following native C# data types:
char
short
int
double
Further, some members of the class are defined as one of the following native C# classes:
decimal
string
Within a view, each attribute is generated as a .NET property which means that it may be accessed as a standard C# property on an object.
For example:
int Id = WIa.ImportCustomerAddressId;
WOa.ExportCustomerAddressId = Id;
|
Copyright © 2014 CA.
All rights reserved.
|
|