Is it possible define one-to-many relation in Sql Server and just define and use one side of this relation in entity code first <p>If I defined one-to-many relation foreign-key constraints in Sql Server, Is it possible just define and use it in code-first class definitions in one side? For example suppose I have Library and Book classes. Each Library can has many books but each book belong to one library.</p> <pre><code>public class Book { public Book() { } public int BookId { get; set; } public string BookName { get; set; } public virtual Library Library { get; set; } } public class Library { public Library() { } public int LibraryId { get; set; } public virtual ICollection&lt;Book&gt; Books { get; set; } } </code></pre> <p>If I want always just use this relation from Book side,Can I don't define below line in Library class definition?</p> <pre><code>public virtual ICollection&lt;Book&gt; Books { get; set; } </code></pre>