Esempio n. 1
0
 public static Family AddNewFor(Client child)
 {
     var fam = new Family() { Name = "Een gezin", Address = new Address { Street="Urselweg", NumberBus="21A", PostalCode="9990", City="Maldegem", Country="België" }, IsExpanded = true };
     RelationFactory.AddNewFor(fam);
     child.Families.Add(fam);
     return fam;
 }
Esempio n. 2
0
 public static Relation AddNewFor(Family fam)
 {
     var relation = new Relation { Family = fam, IsExpanded = true };
     fam.Relations.Add(relation);
     return relation;
 }
Esempio n. 3
0
 public void RemoveFamily(Family family)
 {
     child.Families.Remove(family);
     NotifyOfPropertyChange(() => HasFamily);
 }
Esempio n. 4
0
 public void AddRelation(Family fam)
 {
     RelationFactory.AddNewFor(fam);
 }