Can't create Foreign Keys

0 votes
asked Dec 2, 2014 in General Questions by blacknail (210 points)

Hello all,

I've started using Skipper yesterday. Everything was going OK, until the program stopped allowing me to add more foreign keys to an entity. I can add the new field, but the "FK" column is now disabled (please see picture). This is even more strange, since yesterday I was able to set 2 foreign keys, on another table. I'm new to this, so does anyone know what's happening?

I don't have an ORM / MVC associated.

Thanks.

Entity editor doesn't allow adding new foreign keys

1 Answer

0 votes
answered Dec 2, 2014 by ludek.vodicka Skipper developer (140,450 points)
selected Dec 2, 2014 by blacknail
 
Best answer

Hi,

it's because this FK column is read-only flag to visualize fields used in foreign-keys/associations. It's not possible to modify this checkbox.

To define new association you need to create it through association wizard or association tool from ribbon bar:

create association

commented Dec 2, 2014 by blacknail (210 points)

Thank you, it solved my problem. It's strange, because I remember being able to define foreign keys by checking the field's respective checkbox.

commented Dec 2, 2014 by ludek.vodicka Skipper developer (140,450 points)

It was definitely another tool ;-). Skipper (and also previously ORM Designer) never supports such feature.

...