0
眼下生成代碼的中間表,我有以下三類:如何先用流利的API
public class Customer{
public int Id {get;set;}
public ICollection<State> StatesLivedIn {get;set;}
}
public class Business{
public int Id {get;set;}
public ICollection<State> StatesLocatedIn {get;set;}
}
public class State{
public int Id {get;set;}
public string Name {get;set;}
}
我想對代碼首先生成以下兩個表:
CustomerStates(Customer Id, State Id)
BusinessStates(Business Id, State Id)
有沒有辦法用流利的api來生成這個?
嗎? –