how to set composite key as foreign key?

Original text of this message