EFDesigner2022 icon indicating copy to clipboard operation
EFDesigner2022 copied to clipboard

After Update of EFDesigner2022: Many:Many not possible anymore - "DependentsMustHaveIdentities"

Open MyKeySoftMK opened this issue 1 year ago • 3 comments

I will create a M:M Join - but when i set the Multiplicity on both sides to "*" then i see the following error:

Fehler beim Aufrufen der Validierungsmethode "DependentsMustHaveIdentities" , weil auf einen NULL-Verweis zugegriffen wurde.

My both Entities have Guid-Properties as PK and the Property is set to "Is Identity".

I have do it prior some weeks ago - and it works. The Tabels are create and i can work with them. But today they didn´t work. In the meantime i have update your Designer to v4.2.6.3

MyKeySoftMK avatar Jan 02 '24 17:01 MyKeySoftMK

I've git the same issues with m:m relations but with bigint/long as primary keys. In english this error is being thrown:

Invoke validation method 'DependentsMustHaveIdentities' failed due to a null reference being accessed.

@MyKeySoftMK did you have a workaround?

Zattor avatar Jan 15 '24 14:01 Zattor

@MyKeySoftMK did you have a workaround?

Yes - in the meanwhile i using the 4.2.5.1 of the Extension. That works fine for me and my szenarios.

MyKeySoftMK avatar Jan 15 '24 14:01 MyKeySoftMK

Could you please post a small model (maybe, 2 classes with a many-to-many relationship) that shows the problem?

Thanks.

msawczyn avatar Jan 16 '24 15:01 msawczyn