Beispiel #1
0
 public Lawyer()
 {
     Clients    = new RelatesToMany <Client>(this);
     Assistants = new RelatesToMany <Assistant>(this);
 }
Beispiel #2
0
 public Client()
 {
     Matters = new RelatesToMany <Matter>(this);
 }
Beispiel #3
0
 public Matter()
 {
     RelatedMatters = new RelatesToMany <Matter>(this);
 }
Beispiel #4
0
 public InvalidParent2()
 {
     Sons      = new RelatesToMany <InvalidChild2>(this);
     Daughters = new RelatesToMany <InvalidChild2>(this);
 }
Beispiel #5
0
 public InvalidParent1()
 {
     // two relations to the same pawn but no multiplexer
     Sons      = new RelatesToMany <InvalidChild1>(this);
     Daughters = new RelatesToMany <InvalidChild1>(this);
 }
Beispiel #6
0
 public Car()
 {
     FrontWheels = new RelatesToMany <Wheel>(this, "front");
     BackWheels  = new RelatesToMany <Wheel>(this);
 }
Beispiel #7
0
 public LawFirm()
 {
     Lawyers    = new RelatesToMany <Lawyer>(this);
     Assistants = new RelatesToMany <Assistant>(this);
 }