How to configure multiple Foreignkey referancing to same table from main table using EF Code First Fluient API
问题 I have to design a web application using existing database of desktop application. As per existing database i have below class public class Company { #region Primitive Properties public virtual int CompanyID { get; set; } public virtual string CompanyName { get; set; } public virtual bool IsCustomer { get; set; } public virtual string CustomerCode { get; set; } public virtual bool IsPotentialCustomer { get; set; } public virtual bool IsSupplier { get; set; } public virtual string SupplierCode