In many to many case as below:-
Party:
PartyID int,
PartyName varchar
PartyRole:
PartyID int
PartyRoleTypeID int
PartyRoleType:
PartyRoleTypeID int
PartyRoleTypeName varchar
I designed my app as to listbox to add and remove role type for specified party.
And my test is remove role type from assigned list to available role type list.
And add the same role type back to assigned list. Then save.
There was an error occured about constraint violation in PartyRole Table.
How to solve this problem.