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