This code contains the relationship functionality in database which as follows:

This source code will focus on tuning up the relationship in the Fluent API.

For details explanation please follow the article link is http://social.technet.microsoft.com/wiki/contents/articles/34790.relationship-in-entity-framework-using-code-first-approach-with-fluent-api.aspx