Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Working with OData Services | Adding Properties to the OData Elements
 
Adding Properties to the OData Elements
Entity types and complex types contain properties that define their characteristics. For example, a Customer entity type may have properties such as CustomerId, Name, and Address. Simple property can contain primitive types (such as a string, an integer, or a Boolean value). Complex property can contain structured data such as a complex type.
*To add properties
1. Open the OData service and select the entity type or complex type to which you want to add property.
2. In the Palette view of the OData editor, under Properties, select Simple and/or Complex properties and drag it to the Tree tab to add simple and complex properties to the OData service.
Note:
If the Palette view is not visible, display it by clicking on the right side of the editor.
The entity type and complex type elements can have one or more properties. Each entity type should have at least one property that is a key.
Note:
You cannot add properties to external entity type.
3. Click File > Save to save the properties.