title: Entity framework data annotation of foreign key without a navigation property
body: <p>I have the following table definition:</p>
  
  <pre><code>public partial class ClientClassification
  {
      [Key, Column(Order = 0)]
      public long ClientId { get; set; }
  
      [Key, Column(Order = 1)]
      public ClientClassificationEnum ClientClassificationType { get; set; }
  
      [ForeignKey("ClientId")]
      public virtual Client Client { get; set; }
  }
  </code></pre>
  
  <p><strong>ClientId</strong> is a foreign key into the <strong>Client</strong> table. This is a many to 1 relationship (a client can have many classifications). Is there any way I can omit the <strong>Client</strong> navigation property but still declare this foreign key relationship? So something like:</p>
  
  <pre><code>public partial class ClientClassification
  {
      [Key, Column(Order = 0)]
      [ForeignKey("Client.ClientId")]
      public long ClientId { get; set; }
  
      [Key, Column(Order = 1)]
      public ClientClassificationEnum ClientClassificationType { get; set; }
  }
  </code></pre>