This question is locked. New answers and comments are not allowed.
Hi,
I'm trying to get the multiplicity of both ends for a MetaNavigationMember.
If the association has both ends, then its no problem:
But if the opposite end is not available, then the only thing thats left is the association type.
The question now is how these types should be interpreted:
Reference = ManyToZeroOne/ManyToOne ?
PolymorphicReference = ManyToZeroOne/ManyToOne ?
Collection = ManyToMany ?
OneToMany = OneToMany
OneToManyJointable = OneToMany
ManyToManyJointable = ManyToMany
DictionaryJointable = ManyToMany ?
StructReference = ManyToZeroOne/ManyToOne ?
OneToOne, = OneToOne/ZeroOneToOne/OneZeroToOne
Thanks in advance.
Kind regards,
Thorsten
I'm trying to get the multiplicity of both ends for a MetaNavigationMember.
If the association has both ends, then its no problem:
var source = navigationMember.Multiplicity;
var target = navigationMember.GetOppositeMember().Multiplicity;
But if the opposite end is not available, then the only thing thats left is the association type.
The question now is how these types should be interpreted:
Reference = ManyToZeroOne/ManyToOne ?
PolymorphicReference = ManyToZeroOne/ManyToOne ?
Collection = ManyToMany ?
OneToMany = OneToMany
OneToManyJointable = OneToMany
ManyToManyJointable = ManyToMany
DictionaryJointable = ManyToMany ?
StructReference = ManyToZeroOne/ManyToOne ?
OneToOne, = OneToOne/ZeroOneToOne/OneZeroToOne
Thanks in advance.
Kind regards,
Thorsten