title: How to Model Entity Framework Entity/Mapping With Only One-Way Navigation
body: <p>Using EF 5, Code First.</p>
  
  <p>I'd like to model my entities such that the navigation properties only exist on one side of the relationship.</p>
  
  <p>So if I have a table Widget, and a table WidgetType:</p>
  
  <pre><code>public class Widget
  {
      public int Id { get; set; }
      public int WidgetTypeId { get; set; }
      public WidgetType WidgetType { get; set; }
  }
  
  public class WidgetType
  {
      public int Id { get; set; }
      //note there is no collection of Widgets here
  }
  
  public class WidgetMap : EntityTypeConfiguration&lt;Widget&gt;
  {
      public WidgetMap()
      {
          HasKey(t =&gt; t.Id);
          //totable, etc.
  
          HasRequired(t =&gt; t.WidgetType); //what else is needed?
      }
  }
  </code></pre>
  
  <p>I will never want to fetch widgets from the perspective of widgetType, so it makes sense (to me anyway) to not have the navigation property on the WidgetType entity.</p>
  
  <p>How do I complete the mapping code noted in the code sample without having to add a property to WidgetType?  Is this possible?</p>