This thing is driving me crazy, and the error is quite meaningless to me:
Unable to update the EntitySet \'TableB\' because it has a DefiningQuery and no elemen
@Palantir. Verify that both of you tables have Primary Keys set, and be careful with multiple primary keys set in a table.