I have two entities A and B with the following relationship:
I don't know how to implement this relationship (navigation properties, Fluent API...)
I'm ac# writer, but I thinck you get the picture ?
class A {
public List<B> possibleBList {get;set;}
}
class B {
public A Parent {get;set;}
public A Child {get;set;}
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.