Dear All
We have a requirement to create an OData Services with complex type . Structure of this type is as follows
Zparent (Structure name)
| name- String
|--------| Table of ZChild (Structure name)
|-------- name- string
|---------value- String
Has anyone tried it and if yes what are the basic fundamental steps to accomplish it
I am a newbie therefore need some guidance
Points will be rewarded
Thanks in advance
Gaurav
Request clarification before answering.
Hi Gaurav ,
There are two ways to making an complex Entity
1. Direct Way - Adding Complex Type in the Entity
Problem with this way is that it is a 1:1 relationship . Its behavior like "append" and "include" in DDIC But based on scenario, nested structure (ZChild) is a table so this technique is not possible .
2. In-direct Way - Making relationship between two entity using association
Based on my experience ur requirement can be done by creating two entity zparent as well as zchild . Cardinality can be handled in the association corresponding to this entity.
Regards,
Jibin Joy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.