Hi
We are currently evaluating OpenAccess as an ORM to use in our projects and have come across the following issue.
We have a table called Security which has a large number of columns. We have split this table into three sql views (Security,SecurityCashFlow, SecurityCurrent). We have then mapped three entities one for each view. The following error occurs when trying to create the associations.
“The primitive member 'SecurityId' used in foreign key association 'SecurityHasSecurityCashflow' is used in another association 'SecurityHasSecurityCurrent'. This setup is not supported by the OpenAccess runtime.”
Security has a 0..1:1 association with both SecurityCashFlow and SecurityCurrent. The SecurityId field is the key for each of the entities.
Is it possible in Open Access to have multiple associations to the same property? or is there another way to support this scenario?
Thanks
Chris