Strange error with MetaAssociation reporting EntitySets on both ends RRS feed

  • Question

  • I've just seen a strange error where a MetaAssociation told me that it had EntitySet<...> at both ends, which clearly it didn't.  In fact it seemed to be reporting the same MetaDataMember for both ThisMember and OtherMember.


    It was a for a recursive relationship (i.e. foriegn key points back into its own table) and inheritance was also part of the mix. (Got the error when the MetaType was a derived one, not the root one for the table).


    Has anyone seen this?  If not, I'll post some code to reproduce it.


    I'm using SP1.





    Monday, October 20, 2008 4:24 AM

All replies