dbobject foreign key implemented