title: How to create multiple foreign keys from one table to another if table1 contains multiple fields with fk to the same column of table2
body: <p>I have "info" table with some fields that point to "id" column of "file_uploads" table. Also I third table with fk to "file_uploads", lets call it "another_table".
  How can I describe relationships in EF fluent api to use Linq Join or Include Queries? </p>
  
  <pre><code>InfoRecord {
      public long Id {get; set;}
      public long File1Id {get; set;}
      public long File2Id {get; set;}
      public long File3Id {get; set;}
  
      public List&lt;FileUploadRecord&gt; Files {get; set;}
  }
  
  FileUploadRecord {
      public long Id {get; set;}
      public long Url {get; set;}
  
      public InfoRecord Info {get; set;}
  }
  
  AnotherTableRecord {
      public long Id {get; set;}
      public long ImageId {get; set;}
  
      public long FileUploadRecord Image { get; set; }
  }
  </code></pre>
  
  <p>I know that I can create simple raw sql query with join and it will work, but It doesn't work with Linq .Include or .Join.
  I've tried to solve it by different ways, bu EF throw errors about bad FK relations.</p>