现在我有以下三个类:
(A=fieldA,B=fieldB,C=fieldC,E=fieldE)
(A=fieldB,C=fieldC,D=fieldD)
我希望代码首先生成以下两个表:
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;}
}
有没有办法用流畅的api生成这个?