self-referencing m2m relations in m2m4ria v2

Apr 5, 2013 at 3:11 PM
Is it possible to use self referencing m2m relations in m2m4ria v2 (using the LinkTables)?

When trying to use ToLinkTable<MyEntity, MyEntity, MyEntityLink> you get an error saying that it is is impossible to distinguish between the two different extension functions since they are both identical since TObject1 = TObject2.

Maybe an additional ToLinkTable or ToLinkTableSelfReferencing with just <TObject and TLinkTable> as generic parameters could solve the issue

For the time being we will continue to use the v1 versions as it handles self referencing m2m relations without fuss since commit d278450fdd3c
Apr 13, 2013 at 8:37 AM
Hi Daniel,

Thanks for reporting. This is a quick reply to just let you know that I'm working on it.

Kind regards,
Merikm
Apr 13, 2013 at 8:38 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.