我有3张桌子:
RunWorkerAsync
我可以直接使用Fluent Api绘制机场地图吗 (如多对多)
public class Person
{
public int Id { get; set;}
public ISet<Airport> PickupAirports { get; set; }
public ISet<Airport> DeliveryAirports { get; set; }
}
public class Airport
{
public int Id { get; set;}
}
public class PickupDeliveryAirports
{
public int PersonId { get; set; }
public int AirportId { get; set; }
public string Type { get; set; }
}
根据类型转到PickupAirports和DeliveryAirports,并跳过PickupDeliveryAirports?