XrmContext
XrmContext copied to clipboard
Nested intersection entities
XrmContext currently supports intersections entities where an interface is generated containing the intersected attributes of two entities. However, nested intersection is not currently possible.
Say you have 3 entities: A
, B
, and C
. The three entities all have something in common but A
and B
have more in common than C
. So in this case I would like to be able to have two interface; IAB
and IABC
. I should then be able to cast IABC
-> IAB
but not from IAB
-> IABC
.
The argument for intersection would then look something like the following:
"intersect", "IAB:A;B, IABC:IAB;C"