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