I have created two custom entities using hook_entity_info in drupal 7.The entities is created for the given database tables. I am able to create a view for each of the entities separately.But want to create a view of both entities together.The "relationship" option in view displays "no relationship available". And add fields option displays only the field of the secleted entity.
How do I relate both entities?